Notification time stamped 2019-10-28 18:59:30 UTC

From 53fe6e9c0ce2f04772824f469e26aae2169e5c48 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Oct 28 2019 18:59:13 +0000
Subject: Tweak for EPEL-8 build


- Classify buildreqs by usage
- Use %{make_build} and %{make_install}
- Fix permissions verbosely
- Make %files list more explicit
- Package CONTRIBUTING.mkdn

---

diff --git a/perl-Types-Path-Tiny.rpmlintrc b/perl-Types-Path-Tiny.rpmlintrc
new file mode 100644
index 0000000..d37a22f
--- /dev/null
+++ b/perl-Types-Path-Tiny.rpmlintrc
@@ -0,0 +1,3 @@
+from Config import *
+
+addFilter("spelling-error Summary\(en_US\) coercions -> ")
diff --git a/perl-Types-Path-Tiny.spec b/perl-Types-Path-Tiny.spec
index 2f1cf90..6617232 100644
--- a/perl-Types-Path-Tiny.spec
+++ b/perl-Types-Path-Tiny.spec
@@ -1,34 +1,32 @@
 Name:           perl-Types-Path-Tiny
 Version:        0.006
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Path::Tiny types and coercions for Moose and Moo
 License:        ASL 2.0
 URL:            https://metacpan.org/release/Types-Path-Tiny
 Source0:        
https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Types-Path-Tiny-%{version}.tar.gz
-
 BuildArch:      noarch
-
-BuildRequires:  %{__perl}
-BuildRequires:  %{__make}
-
-BuildRequires:  perl-interpreter >= 0:5.008001
+# Build
+BuildRequires:  coreutils
+BuildRequires:  make
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::pushd)
-BuildRequires:  perl(File::Find)
-BuildRequires:  perl(File::Spec::Functions)
-BuildRequires:  perl(File::Temp) >= 0.18
-BuildRequires:  perl(List::Util)
+BuildRequires:  perl-interpreter >= 0:5.008001
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Module
 BuildRequires:  perl(Path::Tiny)
-BuildRequires:  perl(Test::More) >= 0.96
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Type::Library) >= 0.008
+BuildRequires:  perl(Type::Utils)
 BuildRequires:  perl(Types::Standard)
 BuildRequires:  perl(Types::TypeTiny) >= 0.004
-BuildRequires:  perl(Type::Utils)
-BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
-
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# Test Suite
+BuildRequires:  perl(File::pushd)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp) >= 0.18
+BuildRequires:  perl(Test::More) >= 0.96
+# Dependencies
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module provides Path::Tiny types for Moose, Moo, etc.
@@ -37,23 +35,31 @@ This module provides Path::Tiny types for Moose, Moo, etc.
 %setup -q -n Types-Path-Tiny-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{make_install}
+%{_fixperms} -c %{buildroot}
 
 %check
-%{__make} test
+make test
 
 %files
 %license LICENSE
-%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes CONTRIBUTING.mkdn README
+%{perl_vendorlib}/Types/
+%{_mandir}/man3/Types::Path::Tiny.3*
 
 %changelog
+* Mon Oct 28 2019 Paul Howarth <p...@city-fan.org> - 0.006-7
+- Tweak for EPEL-8 build
+  - Classify buildreqs by usage
+  - Use %%{make_build} and %%{make_install}
+  - Fix permissions verbosely
+  - Make %%files list more explicit
+  - Package CONTRIBUTING.mkdn
+
 * Fri Jul 26 2019 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.006-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
 


        
https://src.fedoraproject.org/rpms/perl-Types-Path-Tiny/c/53fe6e9c0ce2f04772824f469e26aae2169e5c48?branch=epel8
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to