commit dda05f63cb9eadefc20bded121e864cfafca2f1a
Author: Ralf Corsépius <corse...@fedoraproject.org>
Date:   Sat Apr 5 04:58:13 2014 +0200

    Modernize spec.
    
    - Rebase eai.patch (Avoid *.orig being packaged).
    - Fix bogus %changelog entries.

 eai.patch                      |    9 ++++-----
 perl-ExtUtils-AutoInstall.spec |   20 +++++++++-----------
 2 files changed, 13 insertions(+), 16 deletions(-)
---
diff --git a/eai.patch b/eai.patch
index 94d20a4..b394655 100644
--- a/eai.patch
+++ b/eai.patch
@@ -1,7 +1,7 @@
-diff -rN -u old-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm 
new-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm
---- old-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm  2004-10-18 
23:53:40.000000000 -0700
-+++ new-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm  2005-03-21 
20:06:24.000000000 -0800
-@@ -873,9 +873,14 @@
+diff -Naur ExtUtils-AutoInstall-0.63.orig/lib/ExtUtils/AutoInstall.pm 
ExtUtils-AutoInstall-0.63/lib/ExtUtils/AutoInstall.pm
+--- ExtUtils-AutoInstall-0.63.orig/lib/ExtUtils/AutoInstall.pm 2005-09-12 
15:16:09.000000000 +0200
++++ ExtUtils-AutoInstall-0.63/lib/ExtUtils/AutoInstall.pm      2014-04-04 
18:27:58.840550357 +0200
+@@ -878,9 +878,14 @@
      }
  
      $args{test}{TESTS} ||= 't/*.t';
@@ -19,4 +19,3 @@ diff -rN -u 
old-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm new-ExtUti
  
      my $missing = join(',', @Missing);
      my $config  = join(',',
-
diff --git a/perl-ExtUtils-AutoInstall.spec b/perl-ExtUtils-AutoInstall.spec
index 855fe6b..9db8425 100644
--- a/perl-ExtUtils-AutoInstall.spec
+++ b/perl-ExtUtils-AutoInstall.spec
@@ -1,13 +1,12 @@
 Name:          perl-ExtUtils-AutoInstall
 Version:       0.63
-Release:       22%{?dist}
+Release:       23%{?dist}
 Summary:       Automatic install of dependencies via CPAN
 License:       GPL+ or Artistic
 Group:                 Development/Libraries
 URL:           http://search.cpan.org/dist/ExtUtils-AutoInstall/
 Source:        
http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz
 Patch0:                eai.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:     noarch
@@ -32,26 +31,25 @@ ExtUtils::MakeMaker.
 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
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 # For license text(s), see the perl package
 %doc Changes AUTHORS README TODO
 %{perl_vendorlib}/ExtUtils
 %{_mandir}/man3/*
 
 %changelog
+* Fri Apr 04 2014 Ralf Corsépius <corse...@fedoraproject.org> - 0.63-23
+- Modernize spec.
+- Rebase eai.patch (Avoid *.orig being packaged).
+- Fix bogus %%changelog entries.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.63-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -112,10 +110,10 @@ make test
 * Wed Mar 01 2006 Ralf Corsépius <rc040...@freenet.de> - 0.63-4
 - Rebuild for perl-5.8.8.
 
-* Tue Sep 14 2005 Ralf Corsepius <rc040...@freenet.de> - 0.63-3
+* Thu Sep 15 2005 Ralf Corsepius <rc040...@freenet.de> - 0.63-3
 - Further spec file cleanup.
 
-* Tue Sep 14 2005 Ralf Corsepius <rc040...@freenet.de> - 0.63-2
+* Thu Sep 15 2005 Ralf Corsepius <rc040...@freenet.de> - 0.63-2
 - Spec file cleanup.
 
 * Tue Sep 13 2005 Ralf Corsepius <rc040...@freenet.de> - 0.63-1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to