Compare commits

...

No commits in common. "c8s" and "c8-stream-1.7044" have entirely different histories.

4 changed files with 22 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/CPAN-DistnameInfo-0.12.tar.gz
SOURCES/CPAN-DistnameInfo-0.12.tar.gz

View File

@ -0,0 +1 @@
8e47e7d4dfca64a07ac2d4f4a662fef3c8801cac SOURCES/CPAN-DistnameInfo-0.12.tar.gz

View File

@ -1,12 +1,11 @@
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
URL: http://search.cpan.org/dist/CPAN-DistnameInfo/
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/CPAN-DistnameInfo-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
@ -28,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}
@ -44,15 +49,25 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%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 <ppisar@redhat.com> - 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 <jplesnik@redhat.com> - 0.12-12
- Rebuild with enable hardening (bug #1636329)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +0,0 @@
SHA512 (CPAN-DistnameInfo-0.12.tar.gz) = f52eb88b87ab732d13c2ee4e4770cf27c249d2b2446b51e75abe31f2a70b8dc7d8370f4c4426fa68cc8fa7a905668dfdcd1387cd98e239393bde90d1965929f1