commit a71d213900ec0285dd80cd57494fbb9729aa9ff5 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Nov 18 16:40:43 2014 +0100 0.34 bump .gitignore | 1 + perl-Module-Compile.spec | 56 +++++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 30 insertions(+), 29 deletions(-) --- diff --git a/.gitignore b/.gitignore index b00a7ff..14a7642 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Module-Compile-0.20.tar.gz /Module-Compile-0.23.tar.gz +/Module-Compile-0.34.tar.gz diff --git a/perl-Module-Compile.spec b/perl-Module-Compile.spec index 9e8d439..9e8abb6 100644 --- a/perl-Module-Compile.spec +++ b/perl-Module-Compile.spec @@ -1,32 +1,38 @@ Name: perl-Module-Compile -Version: 0.23 -Release: 3%{?dist} +Version: 0.34 +Release: 1%{?dist} Summary: Perl Module Compilation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Module-Compile/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Compile-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +# Build BuildRequires: perl -BuildRequires: perl(base) -BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(constant) -BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::SHA1) >= 2.13 -BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Basename) -BuildRequires: perl(lib) -BuildRequires: perl(overload) -BuildRequires: perl(strict) +BuildRequires: perl(File::Find) +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Module::Install::Base) >= 1.01 BuildRequires: perl(vars) -BuildRequires: perl(warnings) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Base) +BuildRequires: perl(Test::Base::Filter) +BuildRequires: perl(Test::More) BuildRequires: perl(YAML) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Digest::SHA1) >= 2.13 Requires: perl(File::Find) Requires: perl(Filter::Util::Call) +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Digest::SHA1\\)$ %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Module::Install::Base\\)$ %description @@ -35,34 +41,28 @@ Perl modules. %prep %setup -q -n Module-Compile-%{version} +rm -rf inc/ && sed -i -e '/^inc\//d' MANIFEST %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 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 -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes DESIGN README +%doc Changes CONTRIBUTING LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Nov 18 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.34-1 +- 0.34 bump + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.23-3 - Perl 5.20 rebuild diff --git a/sources b/sources index e75ac5e..149dc5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8646a8adb5d63d3dd7cb5fd7fa0e179 Module-Compile-0.23.tar.gz +81a07a87ed8ef03aef2266c786cd87a5 Module-Compile-0.34.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel