Compare commits

..

No commits in common. 'epel9' and 'i9' have entirely different histories.
epel9 ... i9

6
.gitignore vendored

@ -1,5 +1 @@
/Test-DistManifest-1.009.tar.gz SOURCES/Test-DistManifest-1.014.tar.gz
/Test-DistManifest-1.011.tar.gz
/Test-DistManifest-1.012.tar.gz
/Test-DistManifest-1.013.tar.gz
/Test-DistManifest-1.014.tar.gz

@ -0,0 +1 @@
5af2312eed3f000f4a5deb19c87069f925ac6569 SOURCES/Test-DistManifest-1.014.tar.gz

@ -1,11 +1,16 @@
# noarch, but to avoid debug* files interfering with manifest test: # noarch, but to avoid debug* files interfering with manifest test:
%global debug_package %{nil} %global debug_package %{nil}
%if 0%{?fedora} && 0%{?fedora} < 37
# Similarly for .package_note* files (#2059504)
%undefine _package_note_file
%endif
Name: perl-Test-DistManifest Name: perl-Test-DistManifest
Version: 1.014 Version: 1.014
Release: 15%{?dist} Release: 27%{?dist}
Summary: Author test that validates a package MANIFEST Summary: Author test that validates a package MANIFEST
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-DistManifest URL: https://metacpan.org/release/Test-DistManifest
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-DistManifest-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-DistManifest-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -32,14 +37,30 @@ BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Test::Warnings not used without $ENV{AUTHOR_TESTING} # Test::Warnings not used without $ENV{AUTHOR_TESTING}
# Dependencies: # Dependencies:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Remove private modules
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%description %description
This Perl module provides a simple method of testing that a MANIFEST matches This Perl module provides a simple method of testing that a MANIFEST matches
the distribution. the distribution.
%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 Test-DistManifest-%{version} %setup -q -n Test-DistManifest-%{version}
# Help generators to recognize Perl scripts
for F in $(find t/ -name '*.t'); do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -47,6 +68,15 @@ PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLI
%install %install
%{make_install} %{make_install}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm -f %{buildroot}%{_libexecdir}/%{name}/t/00*
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" -r
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
@ -58,7 +88,50 @@ make test
%{perl_vendorlib}/Test/ %{perl_vendorlib}/Test/
%{_mandir}/man3/Test::DistManifest.3* %{_mandir}/man3/Test::DistManifest.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Wed Sep 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.014-27
- Rebuilt for MSVSphere 9.2
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Dec 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.014-26
- Package tests
- Update license to SPDX format
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-24
- Perl 5.36 rebuild
* Tue Mar 1 2022 Paul Howarth <paul@city-fan.org> - 1.014-23
- Work around package note files breaking t/02manifest.t (#2059504)
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-20
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-17
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Sep 26 2019 Paul Howarth <paul@city-fan.org> - 1.014-15 * Thu Sep 26 2019 Paul Howarth <paul@city-fan.org> - 1.014-15
- Spec tidy-up - Spec tidy-up
- Use author-independent source URL - Use author-independent source URL

@ -1 +0,0 @@
382821c709810489daefc5a3a15241c7 Test-DistManifest-1.014.tar.gz
Loading…
Cancel
Save