Skip to content

Commit

Permalink
updating the log4c.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
klesteb committed Apr 3, 2020
1 parent cb617d5 commit 7b095ac
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 51 deletions.
33 changes: 8 additions & 25 deletions config.log
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ configure:4581: checking lex output file root
configure:4597: result: lex.yy
configure:4602: checking lex library
configure:4621: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccgglnXm.o: In function `input':
/tmp/ccfIBipQ.o: In function `input':
/home/kesteb/outside/log4c-1.3.0/lex.yy.c:1168: undefined reference to `yywrap'
/tmp/ccgglnXm.o: In function `yylex':
/tmp/ccfIBipQ.o: In function `yylex':
/home/kesteb/outside/log4c-1.3.0/lex.yy.c:867: undefined reference to `yywrap'
/tmp/ccgglnXm.o: In function `main':
/tmp/ccfIBipQ.o: In function `main':
/home/kesteb/outside/log4c-1.3.0/conftest.l:17: undefined reference to `yywrap'
collect2: ld returned 1 exit status
configure:4628: $? = 1
Expand Down Expand Up @@ -5525,11 +5525,11 @@ configure: failed program was:
configure:4652: result: none needed
configure:4658: checking whether yytext is a pointer
configure:4679: gcc -o conftest -g -O2 conftest.c >&5
/tmp/cc4SK3lx.o: In function `input':
/tmp/cckzx2QX.o: In function `input':
/home/kesteb/outside/log4c-1.3.0/lex.yy.c:1168: undefined reference to `yywrap'
/tmp/cc4SK3lx.o: In function `yylex':
/tmp/cckzx2QX.o: In function `yylex':
/home/kesteb/outside/log4c-1.3.0/lex.yy.c:867: undefined reference to `yywrap'
/tmp/cc4SK3lx.o: In function `main':
/tmp/cckzx2QX.o: In function `main':
/home/kesteb/outside/log4c-1.3.0/conftest.l:17: undefined reference to `yywrap'
collect2: ld returned 1 exit status
configure:4686: $? = 1
Expand Down Expand Up @@ -8099,7 +8099,7 @@ configure:18861: $? = 0
configure:18883: result: yes
configure:18892: checking for _doprnt
configure:18948: gcc -o conftest -g -O2 -Wall conftest.c -lpthread >&5
/tmp/ccTBgodW.o: In function `main':
/tmp/ccx3DHf9.o: In function `main':
/home/kesteb/outside/log4c-1.3.0/conftest.c:90: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:18955: $? = 1
Expand Down Expand Up @@ -8524,6 +8524,7 @@ config.status:1161: creating examples/log4crc
config.status:1161: creating examples/helloworld/Makefile
config.status:1161: creating examples/helloworld1/Makefile
config.status:1161: creating src/config.h
config.status:1383: src/config.h is unchanged
config.status:1435: executing depfiles commands
config.status:1435: executing libtool commands
config.status:1435: executing default commands
Expand Down Expand Up @@ -8910,21 +8911,3 @@ target_alias=''
#define HAVE_GETHOSTNAME 1

configure: exit 0

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.63. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status src/config.h

on wsipc-scm-01.wise.wa-k12.net

config.status:1161: creating src/config.h
config.status:1383: src/config.h is unchanged
28 changes: 15 additions & 13 deletions log4c.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,44 @@

%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define name log4c
%define version 1.3.1
%define _unpackaged_files_terminate_build 0

Name: log4c
Version: 1.3.1
Release: %rel
Release: %{rel}

Summary: Log for C
License: LGPLv2+
Group: Development/Libraries
Vendor: Cedric Le Goater <legoater@free.fr>
Packager: Cedric Le Goater <legoater@free.fr>
Url: http://%name.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
BuildRoot: %_topdir/%name-%version-root
Vendor: Kevin L. Esteb <kevin@kesteb.us>
Packager: Kevin L. Esteb <kevin@kesteb.us>
Url: https://github.com/klesteb/%{name}
Source: https://github.com/klesteb/%{name}/archive/%{version}.tar.gz
BuildRoot: %{_topdir}/%{name}-%{version}-root
BuildRequires: doxygen
Requires: /sbin/ldconfig

%description
%name is a Logging FrameWork for C, as Log4j or Log4Cpp.
%{name} is a Logging FrameWork for C, as Log4j or Log4Cpp.

%package devel
Summary: Development tools for %name
Summary: Development tools for %{name}
Group: Development/Libraries
Requires: %name = %version
Requires: %{name} = %{version}

%package doc
Summary: documentation for %name
Summary: documentation for %{name}
Group: Development/Libraries
Requires: %name = %version
Requires: %{name} = %{version}

%description devel
The %name-devel package contains the static libraries and header files
The %{name}-devel package contains the static libraries and header files
needed for development with %name.

%description doc
The %name-doc package contains the %name documentation
The %{name}-doc package contains the %{name} documentation

%prep
%setup -q
Expand Down
28 changes: 15 additions & 13 deletions log4c.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,44 @@

%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define name @PACKAGE@
%define version @VERSION@
%define _unpackaged_files_terminate_build 0

Name: @PACKAGE@
Version: @VERSION@
Release: %rel
Release: %{rel}

Summary: Log for C
License: LGPLv2+
Group: Development/Libraries
Vendor: Cedric Le Goater <legoater@free.fr>
Packager: Cedric Le Goater <legoater@free.fr>
Url: http://%name.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
BuildRoot: %_topdir/%name-%version-root
Vendor: Kevin L. Esteb <kevin@kesteb.us>
Packager: Kevin L. Esteb <kevin@kesteb.us>
Url: https://github.com/klesteb/%{name}
Source: https://github.com/klesteb/%{name}/archive/%{version}.tar.gz
BuildRoot: %{_topdir}/%{name}-%{version}-root
BuildRequires: doxygen
Requires: /sbin/ldconfig

%description
%name is a Logging FrameWork for C, as Log4j or Log4Cpp.
%{name} is a Logging FrameWork for C, as Log4j or Log4Cpp.

%package devel
Summary: Development tools for %name
Summary: Development tools for %{name}
Group: Development/Libraries
Requires: %name = %version
Requires: %{name} = %{version}

%package doc
Summary: documentation for %name
Summary: documentation for %{name}
Group: Development/Libraries
Requires: %name = %version
Requires: %{name} = %{version}

%description devel
The %name-devel package contains the static libraries and header files
The %{name}-devel package contains the static libraries and header files
needed for development with %name.

%description doc
The %name-doc package contains the %name documentation
The %{name}-doc package contains the %{name} documentation

%prep
%setup -q
Expand Down

0 comments on commit 7b095ac

Please sign in to comment.