commit a4663646c229c772abb04da962ed994f684422d3 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Nov 20 13:37:35 2014 +0100 0.11 bump .gitignore | 1 + perl-Dir-Self.spec | 37 ++++++++++++++++++------------------- sources | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8473d74..b33ecff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Dir-Self-0.10.tar.gz +/Dir-Self-0.11.tar.gz diff --git a/perl-Dir-Self.spec b/perl-Dir-Self.spec index b294f66..c31f9dc 100644 --- a/perl-Dir-Self.spec +++ b/perl-Dir-Self.spec @@ -1,18 +1,24 @@ Name: perl-Dir-Self -Version: 0.10 -Release: 12%{?dist} +Version: 0.11 +Release: 1%{?dist} Summary: A __DIR__ constant for the directory your source file is in License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Dir-Self/ Source0: http://www.cpan.org/authors/id/M/MA/MAUKE/Dir-Self-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec) +# Tests only +BuildRequires: perl(lib) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Carp) %description Perl has two pseudo-constants describing the current location in your @@ -23,32 +29,25 @@ to the directory your source file is in, as an absolute pathname. %setup -q -n Dir-Self-%{version} %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 DESTDIR=$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/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc README +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Nov 20 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.11-1 +- 0.11 bump + * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.10-12 - Perl 5.20 rebuild diff --git a/sources b/sources index 5d290db..9c2eb4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ec6e6588d9caa5a20d1ba090be42c8ee Dir-Self-0.10.tar.gz +e484446c3aa042737c0b7cbd0fb2f904 Dir-Self-0.11.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