]> git.pld-linux.org Git - packages/commoncpp2.git/blobdiff - commoncpp2.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/commoncpp2.git] / commoncpp2.spec
index b8ee48ed2e14f5c5b9c5e0b530413a49c9ec2482..ac98f3339e1760d78f68936eee4d0dd20aa75834 100644 (file)
@@ -1,13 +1,12 @@
 Summary:       A GNU package for creating portable C++ programs
 Summary(pl.UTF-8):     Pakiet GNU do tworzenia przenośnych programów w C++
 Name:          commoncpp2
-Version:       1.5.3
+Version:       1.6.1
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz
-# Source0-md5: 559c6cb2e1fbbaa6d1856d037e3722b2
-Patch0:                %{name}-Makefile.patch
+# Source0-md5: 2ebd8eb80996515be0385378da783091
 URL:           http://www.gnu.org/software/commoncpp/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -67,7 +66,6 @@ Statyczna biblioteka commoncpp2.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -91,11 +89,11 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post devel    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun devel  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
This page took 0.491397 seconds and 4 git commands to generate.