[parrot] change provides filtering to rpm 4.9
Gerd Pokorra
gerd at fedoraproject.org
Fri Nov 4 17:01:55 UTC 2011
commit a4ac1de563ed58fa5028ac49a69edf71a2b1d7e8
Author: gerd <gp at zimt.uni-siegen.de>
Date: Fri Nov 4 17:55:01 2011 +0100
change provides filtering to rpm 4.9
parrot.spec | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
---
diff --git a/parrot.spec b/parrot.spec
index 0cfec6c..517fc65 100644
--- a/parrot.spec
+++ b/parrot.spec
@@ -1,6 +1,8 @@
+%global __provides_exclude perl\\(DB\\)|perl\\(A\\)|perl\\(B\\)
+
Name: parrot
Version: 3.6.0
-Release: 3%{?dist}.1
+Release: 4%{?dist}.1
Summary: A virtual machine
License: Artistic 2.0
Group: Development/Libraries
@@ -97,16 +99,6 @@ Parrot Virtual Machine development files for building languages.
%setup -q
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* | %{__sed} -e '/perl(A)/d' -e '/perl(B)/d' \
- -e '/perl(DB)/d' -e '/perl(Parrot::OpLib::core)/d'
-EOF
-
-%global __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-
%build
%ifarch %{ix86} x86_64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -maccumulate-outgoing-args"
@@ -312,15 +304,15 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Thu Nov 03 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.6.0-3.1
+* Fri Nov 04 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.6.0-4
+- replace "__perl_provides" by "__provides_exclude"
+
+* Thu Nov 03 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.6.0-3
- rebuild with new gmp again
-* Wed Oct 12 2011 Peter Schiffer <pschiffe at redhat.com> - 3.6.0-2.1
+* Wed Oct 12 2011 Peter Schiffer <pschiffe at redhat.com> - 3.6.0-2
- rebuild with new gmp
-* Fri Sep 09 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> 3.6.0-2
-- rebuild with new icu
-
* Fri Aug 05 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> 3.6.0-1
- updated to 3.6.0
- add the winxed binary
More information about the scm-commits
mailing list