From 66d8e485cdd698bf6f88edef50803f718b154176 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Thu, 18 Feb 2016 11:04:27 +0100
Subject: Package cleanup
---
perl-ExtUtils-InstallPAR.spec | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
diff --git a/perl-ExtUtils-InstallPAR.spec b/perl-ExtUtils-InstallPAR.spec
index 1ea3508..4e9caaa 100644
--- a/perl-ExtUtils-InstallPAR.spec
+++ b/perl-ExtUtils-InstallPAR.spec
@@ -1,17 +1,27 @@
Name: perl-ExtUtils-InstallPAR
Version: 0.03
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Install .par's into any installed perl
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/ExtUtils-InstallPAR/
Source0:
http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-InstallPAR-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Run-time
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::InferConfig)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(PAR::Dist) >= 0.40
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests
BuildRequires: perl(Test::More)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(ExtUtils::InferConfig)
%description
This module installs PAR distributions (i.e. .par files) into any perl
@@ -28,32 +38,25 @@ current user.
%setup -q -n ExtUtils-InstallPAR-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Thu Feb 18 2016 Jitka Plesnikova <[email protected]> - 0.03-21
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
0.03-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-ExtUtils-InstallPAR.git/commit/?h=master&id=66d8e485cdd698bf6f88edef50803f718b154176
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]