[coccinelle] Remove bytecode binary (spatch.byte).
Richard W.M. Jones
rjones at fedoraproject.org
Mon Jul 30 13:09:13 UTC 2012
commit 6d4d859b5681a08f403b0e3fc60be674b58b4dca
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Jul 30 13:59:01 2012 +0100
Remove bytecode binary (spatch.byte).
Further small fix to %if macros.
coccinelle.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/coccinelle.spec b/coccinelle.spec
index 6d25c49..367516b 100644
--- a/coccinelle.spec
+++ b/coccinelle.spec
@@ -131,6 +131,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}/python/coccilib \
rmdir $RPM_BUILD_ROOT%{_datadir}/%{name}/python
%endif
+# Remove bytecode binary.
+rm $RPM_BUILD_ROOT%{_bindir}/spatch.byte
+
%check
export COCCINELLE_HOME=$RPM_BUILD_ROOT%{_datadir}/coccinelle
@@ -151,10 +154,12 @@ $RPM_BUILD_ROOT%{_bindir}/spatch -sp_file demos/simple.cocci demos/simple.c
%doc credits.txt install.txt license.txt readme.txt
%{_bindir}/spatch
%{_datadir}/%{name}/
-%{python_sitelib}/coccilib/
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
+%if 0
+%{python_sitelib}/coccilib/
%{_libdir}/*.so
+%endif
%if !%opt
%config(noreplace) /etc/prelink.conf.d/%{name}.conf
%endif
@@ -174,6 +179,7 @@ $RPM_BUILD_ROOT%{_bindir}/spatch -sp_file demos/simple.cocci demos/simple.c
- Rebuild for OCaml 4.00.0.
- Remove buildroot, defattr, clean for modern RPM.
- Includes bundled extlib. Disable this by adding BR ocaml-extlib-devel.
+- Remove bytecode binary (spatch.byte).
- Fix check rule so it sets COCCINELLE_HOME.
- NB: TEST DISABLED. UNLIKELY THAT SPATCH FUNCTIONS CORRECTLY.
+ Disable _libdir/*.so stripping. Why is it not installed?
More information about the scm-commits
mailing list