new filter with RPM4.9

epel9
Marcela Mašláňová 14 years ago
parent 10fafbd3ea
commit 3bb145dfd0

@ -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@redhat.com> - 1.03-12
- new filter with RPM4.9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

Loading…
Cancel
Save