Update to 0.19
This commit is contained in:
parent
903c13a181
commit
f0ea84f726
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
Test-Without-Module-0.17.tar.gz
|
||||
/Test-Without-Module-0.18.tar.gz
|
||||
/Test-Without-Module-0.19.tar.gz
|
||||
|
@ -1,15 +1,15 @@
|
||||
Name: perl-Test-Without-Module
|
||||
Version: 0.18
|
||||
Release: 7%{?dist}
|
||||
Version: 0.19
|
||||
Release: 1%{?dist}
|
||||
Summary: Test fallback behavior in absence of modules
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
|
||||
URL: http://search.cpan.org/dist/Test-Without-Module/
|
||||
Source0: http://www.cpan.org/modules/by-module/Test/Test-Without-Module-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(File::Slurp)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::More)
|
||||
@ -29,15 +29,11 @@ find . -type f -exec chmod 644 {} \;
|
||||
sed -i -e 's/\r//' README Changes
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$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 \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -45,10 +41,15 @@ make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/Test*
|
||||
%{_mandir}/man3/Test*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 02 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.19-1
|
||||
- Update to 0.19
|
||||
- Pass NO_PACKLIST to Makefile.PL
|
||||
- Tighten file listing
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user