Add %license.
- Modernize spec.
This commit is contained in:
parent
2c36fc3ea2
commit
7db5f7c4dd
@ -1,6 +1,6 @@
|
|||||||
Name: perl-IPC-Run3
|
Name: perl-IPC-Run3
|
||||||
Version: 0.048
|
Version: 0.048
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Run a subprocess in batch mode
|
Summary: Run a subprocess in batch mode
|
||||||
License: GPL+ or Artistic or BSD
|
License: GPL+ or Artistic or BSD
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -23,7 +23,7 @@ BuildRequires: perl(strict)
|
|||||||
# For improved tests
|
# For improved tests
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# RHBZ #1062267 / https://rt.cpan.org/Public/Bug/Display.html?id=52317
|
# RHBZ #1062267 / https://rt.cpan.org/Public/Bug/Display.html?id=52317
|
||||||
# Patch from
|
# Patch from
|
||||||
@ -44,23 +44,27 @@ API and none of the bloat and rarely used features of IPC::Run.
|
|||||||
find -type f -exec chmod -x {} \;
|
find -type f -exec chmod -x {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test RELEASE_TESTING=1
|
make test RELEASE_TESTING=1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.048-6
|
||||||
|
- Add %%license.
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.048-5
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.048-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user