rpms/coccinelle/devel coccinelle.spec,1.3,1.4
Richard W.M. Jones
rjones at fedoraproject.org
Fri May 22 11:33:49 UTC 2009
Author: rjones
Update of /cvs/pkgs/rpms/coccinelle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26136
Modified Files:
coccinelle.spec
Log Message:
Fix to installation of binary version.
Index: coccinelle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/coccinelle/devel/coccinelle.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- coccinelle.spec 22 May 2009 11:23:11 -0000 1.3
+++ coccinelle.spec 22 May 2009 11:33:18 -0000 1.4
@@ -8,7 +8,7 @@
Name: coccinelle
Version: 0.1.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Semantic patching for Linux (spatch)
Group: Development/Libraries
@@ -97,9 +97,9 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%if %opt
-# Install the native code version.
+# Just 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.
@@ -156,7 +156,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-2
- 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