Summary(de): Library zum Lesen von Konfigurationsdateien
Name: conflib
Version: 0.4.5
-Release: 2
+Release: 4
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
%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
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
%postun -p /sbin/ldconfig
%post devel
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%postun devel
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%clean
rm -rf $RPM_BUILD_ROOT