commit 6478cf89bc760e46784a7c9d8d72b36213af6602 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed May 29 08:02:44 2013 +0200 0.08 bump .gitignore | 1 + perl-Class-Unload.spec | 34 +++++++++++++++++++++------------- sources | 2 +- 3 files changed, 23 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index c119c77..a78fc5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Class-Unload-0.06.tar.gz /Class-Unload-0.07.tar.gz +/Class-Unload-0.08.tar.gz diff --git a/perl-Class-Unload.spec b/perl-Class-Unload.spec index 58ee165..17a023f 100644 --- a/perl-Class-Unload.spec +++ b/perl-Class-Unload.spec @@ -1,45 +1,53 @@ Name: perl-Class-Unload -Version: 0.07 -Release: 4%{?dist} -Summary: Unload given Class +Version: 0.08 +Release: 1%{?dist} +Summary: Unload given class License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Unload/ Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl >= 0:5.005 +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: BuildRequires: perl(Class::Inspector) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Unloads the given class by clearing out its symbol table and removing it -from INC. +from %%INC. %prep %setup -q -n Class-Unload-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=perl +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$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 %files -%defattr(-,root,root,-) -%doc Changes README -%{perl_privlib}/* +%doc Changes LICENSE README +%{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed May 29 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.08-1 +- 0.08 bump +- Move Perl modules to vendor path + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 2e0b99a..96887c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c6a7fd628bf7a48c3374747257eb90ad Class-Unload-0.07.tar.gz +01f9d0ebc9a483beb2783e94a1fa540c Class-Unload-0.08.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