Compare commits

..

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

@ -1,22 +1,28 @@
Name: perl-Taint-Runtime Name: perl-Taint-Runtime
Version: 0.03 Version: 0.03
Release: 43%{?dist} Release: 56%{?dist}
Summary: Runtime enable taint checking Summary: Runtime enable taint checking
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Taint-Runtime URL: https://metacpan.org/release/Taint-Runtime
Source0: https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Taint/Taint-Runtime-%{version}.tar.gz
BuildRequires: make # Build:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time: # Run-time:
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
# Tests: # Tests:
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Dependencies:
Requires: perl(Carp) Requires: perl(Carp)
%{?perl_default_filter} %{?perl_default_filter}
@ -28,19 +34,41 @@ a somewhat limited number of legitimate use cases where you should
use this module instead of the -T switch. Unless you have a specific and use this module instead of the -T switch. Unless you have a specific and
good reason for not using the -T option, you should use the -T option. good reason for not using the -T option, you should use the -T option.
%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 Taint-Runtime-%{version} %setup -q -n Taint-Runtime-%{version}
chmod +x is_taint_bench.pl chmod -c +x is_taint_bench.pl
# 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 OPTIMIZE="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -delete
chmod -R u+w $RPM_BUILD_ROOT/* %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{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
@ -49,15 +77,66 @@ make test
%doc Changes README %doc Changes README
%{perl_vendorarch}/auto/Taint/ %{perl_vendorarch}/auto/Taint/
%{perl_vendorarch}/Taint/ %{perl_vendorarch}/Taint/
%{_mandir}/man3/*.3* %{_mandir}/man3/Taint::Runtime.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.03-43 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.03-56
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.03-55
- Rebuilt for MSVSphere 10
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 0.03-55
- Bump release for Aug 2024 java mass rebuild
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 0.03-54
- Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.03-53
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-49
- Perl 5.38 rebuild
* Sat May 13 2023 Paul Howarth <paul@city-fan.org> - 0.03-48
- Spec tidy-up
- Use SPDX-format license tag
- Use author-independent source URL
- Specify all dependencies
- Fix permissions verbosely
- Simplify find commands using -empty and -delete
- Make %%files list more explicit
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-45
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.03-42 * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-42
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-41 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save