[perl-DBIx-ContextualFetch] new filter with RPM4.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3bb145dfd06e20861e4b2f7c0c0a4d5c18b34a06
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Tue Feb 15 15:30:49 2011 +0100

    new filter with RPM4.9

 perl-DBIx-ContextualFetch.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/perl-DBIx-ContextualFetch.spec b/perl-DBIx-ContextualFetch.spec
index ccb4ca7..cd37e2d 100644
--- a/perl-DBIx-ContextualFetch.spec
+++ b/perl-DBIx-ContextualFetch.spec
@@ -1,12 +1,11 @@
 Name:           perl-DBIx-ContextualFetch
 Version:        1.03
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Add contextual fetches to DBI
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/DBIx-ContextualFetch
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/DBIx-ContextualFetch-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(DBI)
@@ -14,6 +13,11 @@ BuildRequires:  perl(DBD::SQLite), perl(Test::Pod::Coverage), perl(Test::More)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:	perl(DBI)
 
+%{?filter_setup:
+%filter_from_requires /^perl(DBI::\(st\|db\))/d
+%{?perl_default_filter}
+}
+
 %description
 %{summary}.
 
@@ -25,7 +29,6 @@ Requires:	perl(DBI)
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -34,9 +37,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes
@@ -45,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Feb 15 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 1.03-12
+- new filter with RPM4.9
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.03-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux