rpms/gpm/devel gpm.spec,1.67,1.68

Zdenek Prikryl zprikryl at fedoraproject.org
Wed Feb 4 07:12:58 UTC 2009


Author: zprikryl

Update of /cvs/extras/rpms/gpm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11791/devel

Modified Files:
	gpm.spec 
Log Message:
Spec review (#225856)


Index: gpm.spec
===================================================================
RCS file: /cvs/extras/rpms/gpm/devel/gpm.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- gpm.spec	3 Feb 2009 10:59:29 -0000	1.67
+++ gpm.spec	4 Feb 2009 07:12:27 -0000	1.68
@@ -59,6 +59,7 @@
 %patch6 -p1 -b .ac_package_version
 
 iconv -f iso-8859-1 -t utf-8 -o TODO.utf8 TODO
+touch -c -r TODO TODO.utf8
 mv -f TODO.utf8 TODO
 
 rm -f configure
@@ -68,7 +69,7 @@
 %build
 %configure
 make %{?_smp_mflags}
-gcc %{?_smp_mflags} -o inputattach %{SOURCE2}
+%__cc %{?_smp_mflags} -o inputattach %{SOURCE2}
 
 
 %install
@@ -96,11 +97,12 @@
 %clean
 rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
+%post
 %ifnarch s390 s390x
 /sbin/chkconfig --add gpm
 %endif
 /sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir
+/sbin/ldconfig
 
 %preun
 %ifnarch s390 s390x   
@@ -111,12 +113,13 @@
 %endif
 /sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir
 
-%postun -p /sbin/ldconfig
+%postun
 %ifnarch s390 s390x
 if [ $1 -ge 1 ]; then
     /sbin/service gpm condrestart >/dev/null 2>&1
 fi
 %endif
+/sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)




More information about the fedora-extras-commits mailing list