diff --git a/SPECS/perl-CPAN-DistnameInfo.spec b/SPECS/perl-CPAN-DistnameInfo.spec index 1b31af3..7b9f9b4 100644 --- a/SPECS/perl-CPAN-DistnameInfo.spec +++ b/SPECS/perl-CPAN-DistnameInfo.spec @@ -1,6 +1,6 @@ Name: perl-CPAN-DistnameInfo Version: 0.12 -Release: 11%{?dist} +Release: 13%{?dist} Summary: Extract distribution name and version from a distribution filename License: GPL+ or Artistic Group: Development/Libraries @@ -27,6 +27,12 @@ http://search.cpan.org/ to extract the distribution name and version from filenames and also report if the version is to be treated as a developer release. +%package dummy +Summary: A dummy package +%description dummy +To pass rpmbuild without creating %{name} binary package. +This package will be filtered on a module build level. + %prep %setup -q -n CPAN-DistnameInfo-%{version} @@ -43,12 +49,25 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %check make test +%if "%{_module_name}" == "perl-App-cpanminus" && 0%(perl -e 'print $^V =~ m/\Av5\.30\./') +%files dummy +%exclude %{perl_vendorlib}/CPAN/ +%exclude %{_mandir}/man3/CPAN::DistnameInfo.3pm* +%else %files %doc Changes README %{perl_vendorlib}/CPAN/ %{_mandir}/man3/CPAN::DistnameInfo.3pm* +%endif %changelog +* Tue Sep 24 2019 Petr Pisar - 0.12-13 +- Remove perl-CPAN-DistnameInfo RPM package from perl-App-cpanminus module with + perl:5.30 (bug #1713592) + +* Fri Mar 29 2019 Jitka Plesnikova - 0.12-12 +- Rebuild with enable hardening (bug #1636329) + * Thu Feb 08 2018 Fedora Release Engineering - 0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild