[clc-intercal] update filtering for rpm 4.9

Iain Arnell iarnell at fedoraproject.org
Wed Jul 27 15:30:41 UTC 2011


commit e6899e0636e66c4dab02af9814adcf0c0e2e3517
Author: Iain Arnell <iarnell at gmail.com>
Date:   Wed Jul 27 17:21:09 2011 +0200

    update filtering for rpm 4.9

 clc-intercal.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/clc-intercal.spec b/clc-intercal.spec
index b82aaf4..0c0d70b 100644
--- a/clc-intercal.spec
+++ b/clc-intercal.spec
@@ -1,7 +1,7 @@
 %define         perversion      1.-94.-2
 Name:           clc-intercal
 Version:        0
-Release:        0.6.%(echo %{perversion}|sed -e's/-/_/g')%{?dist}
+Release:        0.7.%(echo %{perversion}|sed -e's/-/_/g')%{?dist}
 Summary:        Compiler for the INTERCAL language
 License:        BSD
 Group:          Development/Libraries
@@ -16,10 +16,11 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Curses)
 BuildRequires:  perl(Gtk2)
 
-%{?perl_default_filter:
+%{?filter_setup:
 %filter_from_provides /^perl(MY)/d
-%perl_default_filter
+%?perl_default_filter
 }
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(MY\\)
 
 %description
 This package provides a Perl-based compiler for the INTERCAL programming
@@ -106,6 +107,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Jul 27 2011 Iain Arnell <iarnell at gmail.com> 0-0.7.1._94._2
+- update filtering for rpm 4.9
+
 * Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0-0.6.1._94._2
 - Perl mass rebuild
 


More information about the scm-commits mailing list