- Upstream update.
- Add BR: perl(Test::More), perl(Business::ISBN). - Remove requires-filter.
This commit is contained in:
parent
ddf5941ea7
commit
56d4d1be5a
@ -1,2 +1 @@
|
||||
URI-1.30.tar.gz
|
||||
URI-1.35.tar.gz
|
||||
URI-1.37.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: perl-URI
|
||||
Version: 1.35
|
||||
Release: 8%{?dist}
|
||||
Version: 1.37
|
||||
Release: 1%{?dist}
|
||||
Summary: A Perl module implementing URI parsing and manipulation
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -12,10 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Uncomment the BuildRequires line when this upstream bug is resolved:
|
||||
# http://rt.cpan.org/Public/Bug/Display.html?id=33220
|
||||
# Be sure to remove Requires filter found in prep section for perl(Business::ISBN)
|
||||
#BuildRequires: perl(Business::ISBN)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Business::ISBN)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
|
||||
@ -29,17 +27,6 @@ updated by RFC 2732).
|
||||
%setup -q -n URI-%{version}
|
||||
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
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -74,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%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
|
||||
- Rebuild for perl 5.10 (again)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user