rpms/libIDL/devel libIDL.spec,1.25,1.26

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 30 22:55:07 UTC 2007


Author: mclasen

Update of /cvs/dist/rpms/libIDL/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17820

Modified Files:
	libIDL.spec 
Log Message:
Fix scriptlets



Index: libIDL.spec
===================================================================
RCS file: /cvs/dist/rpms/libIDL/devel/libIDL.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- libIDL.spec	2 Aug 2006 21:22:49 -0000	1.25
+++ libIDL.spec	30 Jan 2007 22:55:04 -0000	1.26
@@ -1,12 +1,12 @@
 Summary: Library for parsing IDL (Interface Definition Language)
 Name: libIDL
 Version: 0.8.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/%{name}-%{version}.tar.bz2
 Patch0: libIDL-0.8.6-multilib.patch
 Group: System Environment/Libraries
 License: LGPL
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: pkgconfig >= 0.8
 BuildRequires: glib2-devel >= 2.0
 BuildRequires: flex bison
@@ -18,7 +18,7 @@
 %package devel
 Summary: Development libraries and header files for libIDL
 Group: Development/Libraries
-Requires: libIDL = %{version}
+Requires: libIDL = %{version}-%{release}
 Requires: pkgconfig >= 1:0.8
 Requires: glib2-devel >= 2.0
 Prereq: /sbin/install-info
@@ -50,11 +50,11 @@
 %postun -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info --quiet %{_infodir}/libIDL2.info.gz %{_infodir}/dir
+/sbin/install-info --quiet %{_infodir}/libIDL2.info.gz %{_infodir}/dir || :
 
 %preun devel
 if [ $1 = 0 ]; then
-   /sbin/install-info --quiet --delete %{_infodir}/libIDL2.info.gz %{_infodir}/dir
+   /sbin/install-info --quiet --delete %{_infodir}/libIDL2.info.gz %{_infodir}/dir || :
 fi
 
 %clean
@@ -75,6 +75,9 @@
 %{_infodir}/libIDL2.info.gz
 
 %changelog
+* Tue Jan 30 2007 Matthias Clasen <mclasen at redhat.com> - 0.8.7-2
+- Fix scriptlets to be failsafe (#223706)
+
 * Wed Aug  2 2006 Matthias Clasen <mclasen at redhat.com> - 0.8.7-1.fc6
 - Update to 0.8.7
 




More information about the fedora-cvs-commits mailing list