[perl-Test-NoTabs] Update to 1.2
Paul Howarth
pghmcfc at fedoraproject.org
Sun Jun 17 11:59:36 UTC 2012
commit 9937d0ac9f8052541e9ddc79ee745d430578b1cd
Author: Paul Howarth <paul at city-fan.org>
Date: Sun Jun 17 12:58:34 2012 +0100
Update to 1.2
- New upstream release 1.2:
- Fix to ignore inc/ for Module::Install
- BR: perl(Cwd), perl(ExtUtils::MakeMaker), perl(File::Spec), perl(File::Temp)
and perl(Test::Builder)
- Don't need to remove empty directories from the buildroot
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Drop %defattr, redundant since rpm 4.4
.gitignore | 2 +-
perl-Test-NoTabs.spec | 22 +++++++++++++++++-----
sources | 2 +-
3 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index face228..36526ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-NoTabs-1.1.tar.gz
+/Test-NoTabs-[0-9.]*.tar.gz
diff --git a/perl-Test-NoTabs.spec b/perl-Test-NoTabs.spec
index 0c16d9f..efa0f1b 100644
--- a/perl-Test-NoTabs.spec
+++ b/perl-Test-NoTabs.spec
@@ -1,6 +1,6 @@
Name: perl-Test-NoTabs
-Version: 1.1
-Release: 4%{?dist}
+Version: 1.2
+Release: 1%{?dist}
Summary: Check the presence of tabs in your project
Group: Development/Libraries
License: GPL+ or Artistic
@@ -8,6 +8,11 @@ URL: http://search.cpan.org/dist/Test-NoTabs/
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-NoTabs-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl(Cwd)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
@@ -26,9 +31,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot}
%check
@@ -38,12 +42,20 @@ make test
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::NoTabs.3pm*
%changelog
+* Sun Jun 17 2012 Paul Howarth <paul at city-fan.org> - 1.2-1
+- Update to 1.2
+ - Fix to ignore inc/ for Module::Install
+- BR: perl(Cwd), perl(ExtUtils::MakeMaker), perl(File::Spec), perl(File::Temp)
+ and perl(Test::Builder)
+- Don't need to remove empty directories from the buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Drop %%defattr, redundant since rpm 4.4
+
* Tue Jun 12 2012 Petr Pisar <ppisar at redhat.com> - 1.1-4
- Perl 5.16 rebuild
diff --git a/sources b/sources
index 08a9f04..a30d725 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2f084761009e61084ff9c3bb8facb732 Test-NoTabs-1.1.tar.gz
+00128394b3817803a8e003cbc89ee51a Test-NoTabs-1.2.tar.gz
More information about the perl-devel
mailing list