[perl-Class-Unload] 0.08 bump
Petr Pisar
ppisar at fedoraproject.org
Wed May 29 06:03:15 UTC 2013
commit 86ff1ac774d1e2f414357d3cb968111354f583c4
Author: Petr Písař <ppisar at redhat.com>
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 4762b15..c634612 100644
--- a/perl-Class-Unload.spec
+++ b/perl-Class-Unload.spec
@@ -1,45 +1,53 @@
Name: perl-Class-Unload
-Version: 0.07
-Release: 7%{?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 at redhat.com> - 0.08-1
+- 0.08 bump
+- Move Perl modueles to vendor path
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_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
More information about the scm-commits
mailing list