- update by Fedora::App::MaintainerTools 0.004

- PERL_INSTALL_ROOT => DESTDIR
- dropped old BR on perl(HTTP::Request)
- dropped old BR on perl(HTTP::Response)
- dropped old requires on perl(HTTP::Daemon)
- dropped old requires on perl(LWP::UserAgent)
- dropped old requires on perl(Scalar::Util)
This commit is contained in:
Chris Weyl 2010-03-06 04:23:18 +00:00
parent fa680f63d8
commit 6c73b2729f
3 changed files with 22 additions and 28 deletions

View File

@ -1 +1 @@
JSON-2.15.tar.gz
JSON-2.17.tar.gz

View File

@ -1,41 +1,26 @@
Name: perl-JSON
Version: 2.15
Release: 5%{?dist}
Summary: Parse and convert to JSON (JavaScript Object Notation)
Version: 2.17
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
URL: http://search.cpan.org/dist/JSON/
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
# core
BuildRequires: perl(ExtUtils::MakeMaker)
# cpan
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response)
# tests, etc
BuildRequires: perl(CGI)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Daemon)
BuildRequires: perl(Test::More)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
# not picked up due to eval { requires ... } constructs
Requires: perl(Scalar::Util)
Requires: perl(LWP::UserAgent)
Requires: perl(HTTP::Daemon)
# use the whole kit-n-kaboodle, as perl_default_filter isn't in F-11
%{?filter_setup: %{expand:
%filter_from_provides /^perl(JSON::PP)$/d
%filter_provides_in %{perl_vendorarch}/.*\\.so$
%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$
%filter_provides_in %{_docdir}
%filter_requires_in %{_docdir}
%filter_setup
}}
%{?filter_from_provides: %filter_from_provides /^perl(JSON::PP)$/d }
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description
This module converts between JSON (JavaScript Object Notation) and Perl
@ -56,7 +41,7 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@ -76,6 +61,15 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Sun Feb 28 2010 Chris Weyl <cweyl@alumni.drew.edu> 2.17-1
- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
- dropped old BR on perl(HTTP::Request)
- dropped old BR on perl(HTTP::Response)
- dropped old requires on perl(HTTP::Daemon)
- dropped old requires on perl(LWP::UserAgent)
- dropped old requires on perl(Scalar::Util)
* Wed Sep 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-5
- adjust filtering so we don't drop the versioned perl(JSON:PP) prov

View File

@ -1 +1 @@
15de50d89da9a0c389d3fb1a4aef84d0 JSON-2.15.tar.gz
9a775cc4303a3282b8094cd6a0629397 JSON-2.17.tar.gz