X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=conflib.spec;h=c346a5ebb3e9d3fe06da7d9fa9cd5a0a606cc68d;hb=80203fe8440a0f9b0209c3613a1c428710e1da90;hp=a0b05dae0494855e147d825d2a974e7a6b5807d9;hpb=2151710ebdf3bfb9a6270c486e8254ce52003f3c;p=packages%2Fconflib.git diff --git a/conflib.spec b/conflib.spec index a0b05da..c346a5e 100644 --- a/conflib.spec +++ b/conflib.spec @@ -2,13 +2,14 @@ Summary: configuration file library Summary(de): Library zum Lesen von Konfigurationsdateien Name: conflib Version: 0.4.5 -Release: 2 +Release: 5 License: GPL Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz Patch0: conflib-info.patch +Patch1: conflib-cl_build_stanza_array-fix.patch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -47,21 +48,18 @@ $HOME and conditional expansions. %prep %setup -q -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build -LDFLAGS="-s"; export LDFLAGS %configure -make +%{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* - -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \ - README NEWS ChangeLog +gzip -9nf README NEWS ChangeLog %post -p /sbin/ldconfig %postun -p /sbin/ldconfig