rpms/coccinelle/F-11 coccinelle.spec,1.2,1.3

Richard W.M. Jones rjones at fedoraproject.org
Fri May 22 11:33:52 UTC 2009


Author: rjones

Update of /cvs/pkgs/rpms/coccinelle/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26748

Modified Files:
	coccinelle.spec 
Log Message:
Fix to installation of binary version.


Index: coccinelle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/coccinelle/F-11/coccinelle.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- coccinelle.spec	22 May 2009 11:23:24 -0000	1.2
+++ coccinelle.spec	22 May 2009 11:33:21 -0000	1.3
@@ -8,7 +8,7 @@
 
 Name:           coccinelle
 Version:        0.1.8
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        Semantic patching for Linux (spatch)
 
 Group:          Development/Libraries
@@ -98,7 +98,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
 %if %opt
 # Install the native code version.
 rm $RPM_BUILD_ROOT%{_bindir}/spatch
-install -m 0755 spatch.opt $RPM_BUILD_ROOT%{_bindir}/spatch
+mv $RPM_BUILD_ROOT%{_bindir}/spatch.opt $RPM_BUILD_ROOT%{_bindir}/spatch
 strip $RPM_BUILD_ROOT%{_bindir}/spatch
 %else
 # Else prevent prelink from buggering about with the bytecode binary.
@@ -155,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Fri May 22 2009 Richard W.M. Jones <rjones at redhat.com> - 0.1.8-1
+* Fri May 22 2009 Richard W.M. Jones <rjones at redhat.com> - 0.1.8-1.fc11.1
 - New upstream version 0.1.8.
 - Include patch from Debian to fix CVE-2009-1753 (RHBZ#502174).
 




More information about the scm-commits mailing list