Compare commits

...

No commits in common. "c9s" and "c8-stream-5.3" have entirely different histories.

10 changed files with 7 additions and 114 deletions

View File

@ -1 +0,0 @@
1

12
.gitignore vendored
View File

@ -1,11 +1 @@
ExtUtils-CBuilder-0.21.tar.gz
/ExtUtils-CBuilder-0.280219.tar.gz
/ExtUtils-CBuilder-0.280220.tar.gz
/ExtUtils-CBuilder-0.280223.tar.gz
/ExtUtils-CBuilder-0.280224.tar.gz
/ExtUtils-CBuilder-0.280226.tar.gz
/ExtUtils-CBuilder-0.280230.tar.gz
/ExtUtils-CBuilder-0.280231.tar.gz
/ExtUtils-CBuilder-0.280234.tar.gz
/ExtUtils-CBuilder-0.280235.tar.gz
/ExtUtils-CBuilder-0.280236.tar.gz
SOURCES/ExtUtils-CBuilder-0.280231.tar.gz

View File

@ -0,0 +1 @@
6c5957ef7c22dbba2dd4eebb256d514736d249ea SOURCES/ExtUtils-CBuilder-0.280231.tar.gz

View File

@ -2,8 +2,8 @@ Name: perl-ExtUtils-CBuilder
# Compete with perl.spec
Epoch: 1
# Mimic perl.spec
Version: 0.280236
Release: 5%{?dist}
Version: 0.280231
Release: 439%{?dist}
Summary: Compile and link C code for Perl modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-CBuilder
@ -60,49 +60,17 @@ This module can build the C portions of Perl modules by invoking the
appropriate compilers and linkers in a cross-platform manner. It was motivated
by the Module::Build project, but may be useful for other purposes as well.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}-%{version}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n ExtUtils-CBuilder-%{version}
%patch0 -p1
# Normalize shebangs
for F in t/*.t; do
perl -MConfig -i -pe 's/\A#!.*perl/$Config{startperl}/' "$F"
chmod +x "$F"
done
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
cp -a t %{buildroot}/%{_libexecdir}/%{name}
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/bash
set -e
# Tests write into temporary files/directories. The solution is to copy the
# tests into a writable directory and execute them from there.
DIR=$(mktemp -d)
pushd "$DIR"
cp -a %{_libexecdir}/%{name}/* ./
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
@ -110,47 +78,10 @@ make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README README.mkdn
%{perl_vendorlib}/ExtUtils*
%{_mandir}/man3/ExtUtils::CBuilder*
%files tests
%{_libexecdir}/%{name}
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Nov 28 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280236-5
- Resolves: RHEL-131157 - Update tests for Image Mode
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.280236-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.280236-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Feb 16 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280236-2
- Package tests
* Mon Feb 15 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280236-1
- 0.280236 bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280235-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 02 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280235-1
- 0.280235 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280234-457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280234-456
- Increase release to favour standalone package
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280234-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jan 21 2020 Petr Pisar <ppisar@redhat.com> - 1:0.280234-1
- 0.280234 bump
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280231-439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1,7 +0,0 @@
# RHEL
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,4 +0,0 @@
from Config import *
addFilter("spelling-error .* linkers");
# ExtUtils::CBuilder->link() method links libperl.so to executables
addFilter("E: devel-dependency perl-devel");

View File

@ -1,5 +0,0 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

View File

@ -1 +0,0 @@
SHA512 (ExtUtils-CBuilder-0.280236.tar.gz) = 5477d2e7c03195fd72f78528808d144701c5de2fb65b14c8b39ed62dd6274bd75b1208d443a075de23fae1f00b8dbf74cf882c85691ae88c592f9acb3627fb96

View File

@ -1,11 +0,0 @@
summary: Upstream tests
component: perl-ExtUtils-CBuilder
require: perl-ExtUtils-CBuilder-tests
test: /usr/libexec/perl-ExtUtils-CBuilder/test
enabled: true
tag:
- rhel-buildroot
adjust:
- enabled: false
when: distro < rhel-9 or distro < centos-stream-9
continue: false