- Upstream update.

- Add BR: perl(Test::More), perl(Business::ISBN).
- Remove requires-filter.
This commit is contained in:
corsepiu 2009-02-20 05:36:34 +00:00
parent ddf5941ea7
commit 56d4d1be5a
3 changed files with 11 additions and 20 deletions

View File

@ -1,2 +1 @@
URI-1.30.tar.gz URI-1.37.tar.gz
URI-1.35.tar.gz

View File

@ -1,6 +1,6 @@
Name: perl-URI Name: perl-URI
Version: 1.35 Version: 1.37
Release: 8%{?dist} Release: 1%{?dist}
Summary: A Perl module implementing URI parsing and manipulation Summary: A Perl module implementing URI parsing and manipulation
Group: Development/Libraries Group: Development/Libraries
@ -12,10 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(MIME::Base64) BuildRequires: perl(MIME::Base64)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Uncomment the BuildRequires line when this upstream bug is resolved: BuildRequires: perl(Test::More)
# http://rt.cpan.org/Public/Bug/Display.html?id=33220 BuildRequires: perl(Business::ISBN)
# Be sure to remove Requires filter found in prep section for perl(Business::ISBN)
#BuildRequires: perl(Business::ISBN)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -29,17 +27,6 @@ updated by RFC 2732).
%setup -q -n URI-%{version} %setup -q -n URI-%{version}
chmod 644 uri-test chmod 644 uri-test
# Filter unwanted Requires:
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(Business::ISBN)/d'
EOF
%define __perl_requires %{_builddir}/URI-%{version}/%{name}-req
chmod +x %{__perl_requires}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
@ -74,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Feb 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.37-1
- Upstream update.
- Add BR: perl(Test::More), perl(Business::ISBN).
- Remove requires-filter.
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-8 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-8
- Rebuild for perl 5.10 (again) - Rebuild for perl 5.10 (again)

View File

@ -1 +1 @@
1a933b1114c41a25587ee59ba8376f7c URI-1.35.tar.gz b81b3610b78654e11c099f74a5247860 URI-1.37.tar.gz