libol.spec.in patch
Bazsi. The specfile included in libol no longer builds correctly (it is broken since Red Hat 9, or more correctly, since rpm 4.2). With the attached patch is builds correctly at least in RH73, RH9, and Fedora Core 1. The history of fedora.us libol SRPM can be found here: https://bugzilla.fedora.us/show_bug.cgi?id=1331 A scsh SRPM can be found here: https://bugzilla.fedora.us/show_bug.cgi?id=919 Regards, jpo -- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo * * gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B * diff -ru libol-0.3.13+20040506-original/libol.spec.in libol-0.3.13+20040506-modified/libol.spec.in --- libol-0.3.13+20040506-original/libol.spec.in 2003-04-10 15:55:26.000000000 +0100 +++ libol-0.3.13+20040506-modified/libol.spec.in 2004-05-06 02:42:04.000000000 +0100 @@ -1,24 +1,39 @@ +# +# Before changing the macro below see the README file included in +# the syslog-ng package. +# +%define with_scheme_preprocessor 0 + Summary: Support library for syslog-ng Name: libol Version: @VERSION@ Release: 1 +Epoch: 0 License: GPL Group: System Environment/Libraries -Url: http://www.balabit.hu/products/syslog-ng/ -Source: http://www.balabit.hu/downloads/syslog-ng/libol/0.3/%{name}-%{version}.tar.gz -Packager: Hollis Blanchard <hollis@penguinppc.org> -Buildroot: %{_tmppath}/%{name}-%{version}-buildroot +Url: http://www.balabit.com/products/syslog-ng/ +Source: http://www.balabit.com/downloads/syslog-ng/libol/0.3/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +%if %{with_scheme_preprocessor} +BuildRequires: scsh +%endif %description Support library for syslog-ng. + %package devel -Summary: libol headers, libraries -Group: Development/Libraries -Requires: %name = %{version} +Summary: Support library for syslog-ng: headers and libraries +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} +%if %{with_scheme_preprocessor} +Requires: scsh +%endif %description devel -libol headers, libraries +Support library for syslog-ng: headers and libraries. %prep @@ -26,7 +41,7 @@ %build %configure -make +make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} @@ -42,21 +57,31 @@ %files -%defattr(-,root,root) -%doc ChangeLog -%{_bindir}/libol-config -%{_libdir}/libol.so +%defattr(-,root,root,-) +%doc ChangeLog COPYING %{_libdir}/libol.so.0 %{_libdir}/libol.so.0.0.0 %files devel -%defattr(-,root,root) -%{_includedir}/libol +%defattr(-,root,root,-) +%if %{with_scheme_preprocessor} +%{_bindir}/make_class +%else +%exclude %{_bindir}/make_class +%endif +%{_bindir}/libol-config %{_libdir}/libol.a %{_libdir}/libol.la +%{_libdir}/libol.so +%{_includedir}/libol %changelog +* Thu May 6 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:0.3.13 +- update to version 0.3.13 +- macro %{with_scheme_preprocessor} +- merged several changes from the fedora.us libol specfile + * Thu Apr 10 2003 Jose Pedro Oliveira <jpo@di.uminho.pt> - specfile reformated - replaced hard coded values by RPM macros
2004-05-06, cs keltezéssel 03:51-kor José Pedro Oliveira ezt írta:
Bazsi.
The specfile included in libol no longer builds correctly (it is broken since Red Hat 9, or more correctly, since rpm 4.2).
With the attached patch is builds correctly at least in RH73, RH9, and Fedora Core 1.
committed. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
Balazs Scheidler wrote:
2004-05-06, cs keltezéssel 03:51-kor José Pedro Oliveira ezt írta:
Bazsi.
The specfile included in libol no longer builds correctly (it is broken since Red Hat 9, or more correctly, since rpm 4.2).
With the attached patch is builds correctly at least in RH73, RH9, and Fedora Core 1.
committed.
Thanks. People can now build libol RPMS by just executing: rpmbuild -ta libol-0.3.13+20040507.tar.gz jpo -- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo * * gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *
participants (2)
-
Balazs Scheidler
-
José Pedro Oliveira