rpms/GiNaC/devel GiNaC.spec,1.2,1.3

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Fri Apr 22 16:39:59 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/GiNaC/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15428

Modified Files:
	GiNaC.spec 
Log Message:
Added %{release} to Requires for devel and utils, plus other minor modifications.



Index: GiNaC.spec
===================================================================
RCS file: /cvs/extras/rpms/GiNaC/devel/GiNaC.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GiNaC.spec	21 Apr 2005 15:43:21 -0000	1.2
+++ GiNaC.spec	22 Apr 2005 16:39:57 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           GiNaC
 Version:        1.3.0
-Release:        1
+Release:        2
 Summary:        C++ library for symbolic calculations
 
 Group:          System Environment/Libraries
@@ -9,7 +9,8 @@
 Source0:        ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:       /sbin/install-info
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 BuildRequires:  cln-devel >= 1.1 gcc-c++
 
 %description
@@ -20,7 +21,7 @@
 %package devel
 Summary: GiNaC development libraries and header files
 Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
 
 %description devel
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
@@ -33,7 +34,7 @@
 %package utils
 Summary: GiNaC-related utilities
 Group: System Environment/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
 
 %description utils
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
@@ -59,18 +60,16 @@
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
+/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
 
 %preun devel
 if [ "$1" = 0 ]; then
-  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
+  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
 fi
 
 
@@ -99,6 +98,9 @@
 %{_mandir}/man1/viewgar.1*
 
 %changelog
+* Fri Apr 22 2005 Quentin Spencer <qspencer at users.sf.net> 1.3.0-2
+- Added %{release} to Requires for devel and utils
+
 * Thu Apr 21 2005 Quentin Spencer <qspencer at users.sf.net> 1.3.0-1
 - Adapted spec file for Fedora Extras
 - Fixed missing BuildRequires




More information about the fedora-extras-commits mailing list