Author: cweyl
Update of /cvs/extras/rpms/perl-Config-Any/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20232
Modified Files:
perl-Config-Any.spec sources
Log Message:
* Mon Mar 01 2010 Chris Weyl <cweyl(a)alumni.drew.edu> 0.19-1
- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
- added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
- dropped old BR on perl(JSON::Syck)
- added manual BR on perl(JSON::XS)
- added a new req on perl(Module::Pluggable) (version 3.01)
- dropped old requires on perl(JSON::Syck)
- added manual requires on perl(JSON::XS)
Index: perl-Config-Any.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Config-Any/F-12/perl-Config-Any.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- perl-Config-Any.spec 26 Jul 2009 04:35:31 -0000 1.10
+++ perl-Config-Any.spec 2 Mar 2010 16:48:55 -0000 1.11
@@ -1,39 +1,39 @@
Name: perl-Config-Any
-Version: 0.17
-Release: 3%{?dist}
Summary: Load configuration from different file formats, transparently
+Version: 0.19
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
+Source0:
http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Config-Any-%{version}....
URL:
http://search.cpan.org/dist/Config-Any/
-Source0:
http://www.cpan.org/modules/by-module/Config/Config-Any-%{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
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Module::Pluggable) >= 3.01
-BuildRequires: perl(version)
-BuildRequires: perl(JSON::Syck)
BuildRequires: perl(Config::General)
BuildRequires: perl(Config::Tiny)
-BuildRequires: perl(XML::Simple)
-BuildRequires: perl(YAML::Syck)
-
-# tests
-BuildRequires: perl(Test::More)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires: perl(JSON::XS)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Module::Pluggable) >= 3.01
BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(version)
BuildRequires: perl(XML::LibXML)
+BuildRequires: perl(XML::Simple)
+BuildRequires: perl(YAML::XS)
-# optional tests
-BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
-
-# not picked up
-Requires: perl(JSON::Syck)
Requires: perl(Config::General)
Requires: perl(Config::Tiny)
+Requires: perl(JSON::XS)
+Requires: perl(Module::Pluggable) >= 3.01
Requires: perl(XML::Simple)
-Requires: perl(YAML::Syck)
+Requires: perl(YAML::XS)
+
+%{?perl_default_filter}
+%{?perl_default_subpackage_tests}
%description
Config::Any provides a facility for Perl applications and libraries to
@@ -44,39 +44,14 @@ Perl code.
%prep
%setup -q -n Config-Any-%{version}
-# make rpmlint happy :)
-find t/ -type f -exec sed -i 's/\r//' {} \;
-perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
-
-# Filter unwanted Provides:
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
- sed -e '/perl(MockApp)/d'
-EOF
-
-%define __perl_provides %{_builddir}/Config-Any-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-# Filter unwanted Requires:
-cat << \EOF > %{name}-req
-#!/bin/sh
-%{__perl_requires} $* |\
- sed -e '/perl(Test::More)/d; /perl(Scalar::Util)/d'
-EOF
-
-%define __perl_requires %{_builddir}/Config-Any-%{version}/%{name}-req
-chmod +x %{__perl_requires}
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 ';'
@@ -91,11 +66,28 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
# conf/ for examples of different config types
-%doc Changes README t/
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Mar 01 2010 Chris Weyl <cweyl(a)alumni.drew.edu> 0.19-1
+- update by Fedora::App::MaintainerTools 0.004
+- PERL_INSTALL_ROOT => DESTDIR
+- added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
+- dropped old BR on perl(JSON::Syck)
+- added manual BR on perl(JSON::XS)
+- added a new req on perl(Module::Pluggable) (version 3.01)
+- dropped old requires on perl(JSON::Syck)
+- added manual requires on perl(JSON::XS)
+
+* Mon Jan 11 2010 Iain Arnell <iarnell(a)gmail.com> 0.18-1
+- update to latest upstream version
+- prefer YAML::XS over YAML::Syck
+
+* Fri Dec 4 2009 Stepan Kasal <skasal(a)redhat.com> - 0.17-4
+- rebuild against perl 5.10.1
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.17-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Config-Any/F-12/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources 23 Feb 2009 05:26:14 -0000 1.7
+++ sources 2 Mar 2010 16:48:55 -0000 1.8
@@ -1 +1 @@
-8392d962a83c427275dc8711a2450f89 Config-Any-0.17.tar.gz
+84e2da067d07da59a6482697d2c25b2c Config-Any-0.19.tar.gz