[parrot/f16] rebuild with new provides_exclude for perl(DB)

Gerd Pokorra gerd at fedoraproject.org
Fri Nov 4 07:33:31 UTC 2011


commit e55872876993f5d68343ed0daa149ec536e722ae
Author: gerd <gp at zimt.uni-siegen.de>
Date:   Fri Nov 4 08:26:32 2011 +0100

    rebuild with new provides_exclude for perl(DB)

 parrot.spec |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/parrot.spec b/parrot.spec
index f861b93..ff88bc3 100644
--- a/parrot.spec
+++ b/parrot.spec
@@ -1,3 +1,5 @@
+%global __provides_exclude perl\\(DB\\)
+
 Name:           parrot
 Version:        3.6.0
 Release:        1%{?dist}
@@ -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,6 +304,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Nov 04 2011 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.6.0-2
+- replace "__perl_provides" by "__provides_exclude"
+
 * 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