[perl-Perl-Version] update to 1.010
Iain Arnell
iarnell at fedoraproject.org
Sun Sep 26 08:18:05 UTC 2010
commit def0786b884bd619340a2dab05fc0e6a7c4bd28e
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Sep 26 10:17:56 2010 +0200
update to 1.010
.gitignore | 1 +
perl-Perl-Version.spec | 17 ++++++-----------
sources | 2 +-
3 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index daa9fac..5afd5a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Perl-Version-1.009.tar.gz
+/Perl-Version-1.010.tar.gz
diff --git a/perl-Perl-Version.spec b/perl-Perl-Version.spec
index 6583736..9ad9213 100644
--- a/perl-Perl-Version.spec
+++ b/perl-Perl-Version.spec
@@ -1,12 +1,11 @@
Name: perl-Perl-Version
-Version: 1.009
-Release: 3%{?dist}
+Version: 1.010
+Release: 1%{?dist}
Summary: Parse and manipulate Perl version strings
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Perl-Version/
Source0: http://www.cpan.org/authors/id/A/AN/ANDYA/Perl-Version-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Slurp) >= 9999.12
@@ -25,16 +24,11 @@ formatting Perl version strings.
%prep
%setup -q -n Perl-Version-%{version}
-# ensure that perl-reversion script gets installed
-sed -i -e '/prompt.*/s/"N"/"Y"/' Makefile.PL
-
%build
PERL_MM_USE_DEFAULT=true %{__perl} Makefile.PL INSTALLDIRS=vendor
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 {} \;
@@ -45,9 +39,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc Changes Notes.txt README
@@ -57,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Sun Sep 26 2010 Iain Arnell <iarnell at gmail.com> 1.010-1
+- update to latest upstream
+- clean up spec for modern rpmbuild
+
* Tue May 04 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.009-3
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 6b19284..83a4db9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d54af4a652a7a3bc4b97aae3ff44104d Perl-Version-1.009.tar.gz
+e73d9a247370fc703379cf6465add7f5 Perl-Version-1.010.tar.gz
More information about the scm-commits
mailing list