[parrot] add provides filter for rpm 4.9 onwards

Paul Howarth pghmcfc at fedoraproject.org
Fri Apr 15 13:31:23 UTC 2011


commit a17fecf0885d24cb0e8bde6367f06431749532b0
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Apr 15 14:30:59 2011 +0100

    add provides filter for rpm 4.9 onwards

 parrot.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/parrot.spec b/parrot.spec
index 2d8a643..6df55b0 100644
--- a/parrot.spec
+++ b/parrot.spec
@@ -1,6 +1,6 @@
 Name:           parrot
 Version:        3.0.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A virtual machine
 License:        Artistic 2.0
 Group:          Development/Libraries
@@ -35,6 +35,10 @@ BuildRequires:  desktop-file-utils
 #BuildRequires:  mesa-libGLU-devel
 #BuildRequires:  freeglut-devel
  
+# rpm 4.9 onwards has a new requires/provides filtering mechanism
+# the only provide that needs filtering is perl(DB)
+%global __provides_exclude perl\\(DB\\)
+
 
 %package docs
 Summary:        Parrot Virtual Machine documentation
@@ -315,6 +319,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Apr 15 2011 Paul Howarth <paul at city-fan.org> 3.0.0-5
+- add provides filter for rpm 4.9 onwards
+
 * Mon Mar 07 2011 Caolán McNamara <caolanm at redhat.com> 3.0.0-4
 - rebuild for icu 4.6
 


More information about the scm-commits mailing list