From 161c8ec2223e3c72a3a0cc193a009fd1a03c6f37 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Wed, 12 Apr 2017 10:16:05 +0100
Subject: Update to 2.00
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 2.00
  - Migrated off Module::Install, added META.json and other modern tooling
- This release by ETHER → update source URL
- Ship new LICENSE file
- Simplify find command using -delete
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
---
 perl-Test-NoTabs.spec | 53 +++++++++++++++++++++++++++------------------------
 sources               |  2 +-
 2 files changed, 29 insertions(+), 26 deletions(-)

diff --git a/perl-Test-NoTabs.spec b/perl-Test-NoTabs.spec
index 91e9e6d..c3eeed0 100644
--- a/perl-Test-NoTabs.spec
+++ b/perl-Test-NoTabs.spec
@@ -1,41 +1,32 @@
 Name:          perl-Test-NoTabs
-Version:       1.4
-Release:       6%{?dist}
+Version:       2.00
+Release:       1%{?dist}
 Summary:       Check the presence of tabs in your project
-Group:         Development/Libraries
 License:       GPL+ or Artistic
 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)
+Source0:       
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-NoTabs-%{version}.tar.gz
 BuildArch:     noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-generators
-BuildRequires: perl(Carp)
-BuildRequires: perl(Config)
-BuildRequires: perl(Cwd)
 BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(ExtUtils::Manifest)
-BuildRequires: perl(Fcntl)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(FileHandle)
-BuildRequires: perl(Parse::CPAN::Meta)
-BuildRequires: perl(YAML::Tiny)
-BuildRequires: tar > 2:1.15.1
 # Module Runtime
 BuildRequires: perl(File::Find)
 BuildRequires: perl(File::Spec)
 BuildRequires: perl(FindBin)
 BuildRequires: perl(strict)
 BuildRequires: perl(Test::Builder)
-BuildRequires: perl(vars)
 BuildRequires: perl(warnings)
 # Test Suite
 BuildRequires: perl(File::Temp)
 BuildRequires: perl(Test::More)
 # Optional Tests
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
+%if "%{?rhel}" != "6"
+BuildRequires: perl(CPAN::Meta) >= 2.120900
+%endif
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -47,27 +38,39 @@ modules, etc.) for the presence of tabs.
 %setup -q -n Test-NoTabs-%{version}
 
 %build
-perl Makefile.PL --skip INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} %{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
 %doc Changes README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::NoTabs.3*
 
 %changelog
+* Wed Apr 12 2017 Paul Howarth <p...@city-fan.org> - 2.00-1
+- Update to 2.00
+  - Migrated off Module::Install, added META.json and other modern tooling
+- This release by ETHER → update source URL
+- Ship new LICENSE file
+- Simplify find command using -delete
+- Drop EL-5 support
+  - Drop BuildRoot: and Group: tags
+  - Drop explicit buildroot cleaning in %%install section
+  - Drop explicit %%clean section
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 1.4-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
diff --git a/sources b/sources
index d56d7eb..b29cb9e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b135805eebb93ca502df585655f34ca  Test-NoTabs-1.4.tar.gz
+SHA512 (Test-NoTabs-2.00.tar.gz) = 
e776f5c12029376a7754492482f62385a391aec31b3dfd979a8eb20aa81dd66ef8c7d33435e67f8f1eb151cf5833e5bde33c09ceccef27ac6e20958f28ff83e8
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Test-NoTabs.git/commit/?h=master&id=161c8ec2223e3c72a3a0cc193a009fd1a03c6f37
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to