]> git.pld-linux.org Git - packages/check.git/commitdiff
- up to 0.9.8 AC-branch auto/ac/check-0_9_8-1 auto/th/check-0_9_8-1 auto/ti/check-0_9_8-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Apr 2010 10:16:02 +0000 (10:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- package ghost soname symlink
- fix-info-dir on -devel

Changed files:
    check.spec -> 1.17

check.spec

index 9f0df9f2a3d4c2ad6789776cd650be77896b7c95..d7fea8405f99e48daf2ed0c7c3eabeac70b9e020 100644 (file)
@@ -1,19 +1,18 @@
 Summary:       Check - unit testing framework for C
 Summary(pl.UTF-8):     Check - szkielet testów jednostkowych dla C
 Name:          check
-Version:       0.9.5
-Release:       2
+Version:       0.9.8
+Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/check/%{name}-%{version}.tar.gz
-# Source0-md5: 30143c7974b547a12a7da47809a90951
+# Source0-md5: 5d75e9a6027cde79d2c339ef261e7470
 Patch0:                %{name}-info.patch
 URL:           http://check.sourceforge.net/
 # aclocal required for %{_aclocaldir}
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: texinfo >= 4.2
-Requires(post,postun): /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %undefine      __cxx
@@ -75,22 +74,25 @@ rm -rf $RPM_BUILD_ROOT
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 rm -f $RPM_BUILD_ROOT%{_libdir}/libcheck.la
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
-[ ! -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 -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog* NEWS README SVNChangeLog THANKS TODO
 %attr(755,root,root) %{_libdir}/libcheck.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcheck.so.0
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.108257 seconds and 4 git commands to generate.