[perl-Class-Inspector] Upstream update. Spec file modernization. Fix perl_bootstrap handling.
corsepiu
corsepiu at fedoraproject.org
Fri Jan 27 07:33:41 UTC 2012
commit 28206a980fa1072dfe85cb55d1dd2b8ad6e5a3d1
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Fri Jan 27 08:33:17 2012 +0100
Upstream update.
Spec file modernization.
Fix perl_bootstrap handling.
.gitignore | 1 +
perl-Class-Inspector.spec | 16 ++++++++--------
sources | 2 +-
3 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 40d42d8..bf49b42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Class-Inspector-1.24.tar.gz
/Class-Inspector-1.25.tar.gz
+/Class-Inspector-1.27.tar.gz
diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec
index a902c65..bac427c 100644
--- a/perl-Class-Inspector.spec
+++ b/perl-Class-Inspector.spec
@@ -1,12 +1,11 @@
Name: perl-Class-Inspector
-Version: 1.25
-Release: 3%{?dist}
+Version: 1.27
+Release: 1%{?dist}
Summary: Get information about a class and its structure
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-Inspector/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -35,17 +34,13 @@ provide an easier, more friendly interface to this information.
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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%check
-%if 0%{?perl_bootstrap}
+%if !%{defined perl_bootstrap}
make test AUTOMATED_TESTING=1
%endif
@@ -56,6 +51,11 @@ make test AUTOMATED_TESTING=1
%{_mandir}/man3/*
%changelog
+* Fri Jan 27 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.27-1
+- Upstream update.
+- Spec file modernization.
+- Fix perl_bootstrap handling.
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.25-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 8b5d89a..c9cfb86 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5830bff10a0966993edd14435b8a579b Class-Inspector-1.25.tar.gz
+52e6391cae3c2abdfcd1d450b42bba7e Class-Inspector-1.27.tar.gz
More information about the scm-commits
mailing list