Compare commits

..

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Module-Metadata-1.000037.tar.gz SOURCES/Module-Metadata-1.000038.tar.gz

@ -1 +1 @@
370d4b16133c8ee605ed865660a069cb8b600c92 SOURCES/Module-Metadata-1.000037.tar.gz 05e22a96aafe0fb1d4ef9b00a8b469399b891523 SOURCES/Module-Metadata-1.000038.tar.gz

@ -1,8 +1,8 @@
Name: perl-Module-Metadata Name: perl-Module-Metadata
Version: 1.000037 Version: 1.000038
Release: 460%{?dist} Release: 512%{?dist}
Summary: Gather package and POD information from perl module files Summary: Gather package and POD information from perl module files
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Module-Metadata URL: https://metacpan.org/release/Module-Metadata
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Metadata-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Metadata-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -12,6 +12,7 @@ BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Module # Module
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -37,17 +38,34 @@ BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(vars) BuildRequires: perl(vars)
# Optional test requirements # Optional test requirements
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta) >= 2.120900
# Runtime # Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Encode) Requires: perl(Encode)
Requires: perl(Fcntl) Requires: perl(Fcntl)
# Remove private test modules
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Foo|GeneratePackage)\\)$
%description %description
This module provides a standard way to gather metadata about a .pm file This module provides a standard way to gather metadata about a .pm file
without executing unsafe code. without executing unsafe code.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n Module-Metadata-%{version} %setup -q -n Module-Metadata-%{version}
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@ -57,6 +75,17 @@ make %{?_smp_mflags}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
# Remove author tests.
rm -f %{buildroot}%{_libexecdir}/%{name}/t/00*
cp -a corpus %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
make test make test
@ -67,13 +96,60 @@ make test
%{perl_vendorlib}/Module/ %{perl_vendorlib}/Module/
%{_mandir}/man3/Module::Metadata.3* %{_mandir}/man3/Module::Metadata.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.000037-460 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.000038-512
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.000038-511
- Fix filters of dependencies
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.000038-510
- Increase release to favour standalone package
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.000038-7
- Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.000038-6
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.000038-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.000037-459 * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.000038-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.000038-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.000038-2
- Perl 5.38 rebuild
* Fri Apr 28 2023 Paul Howarth <paul@city-fan.org> - 1.000038-1
- Update to 1.000038
- Detects "class" syntax
- Use SPDX-format license tag
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.000037-488
- Increase release to favour standalone package
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-478
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.000037-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-458 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.000037-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save