Compare commits
No commits in common. "c10s" and "c8-stream-5.3" have entirely different histories.
c10s
...
c8-stream-
@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1 @@
|
|||||||
Text-Diff-1.37.tar.gz
|
SOURCES/Text-Diff-1.45.tar.gz
|
||||||
/Text-Diff-1.41.tar.gz
|
|
||||||
/Text-Diff-1.43.tar.gz
|
|
||||||
/Text-Diff-1.44.tar.gz
|
|
||||||
/Text-Diff-1.45.tar.gz
|
|
||||||
|
|||||||
1
.perl-Text-Diff.metadata
Normal file
1
.perl-Text-Diff.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
bd762ce99fbde3a6d921366258c807c20582de59 SOURCES/Text-Diff-1.45.tar.gz
|
||||||
@ -1,19 +1,14 @@
|
|||||||
Name: perl-Text-Diff
|
Name: perl-Text-Diff
|
||||||
Version: 1.45
|
Version: 1.45
|
||||||
Release: 25%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Perform diffs on files and record sets
|
Summary: Perform diffs on files and record sets
|
||||||
# lib/Text/Diff.pm - GPL-2.0-or-later OR Artistic-1.0-Perl
|
License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT
|
||||||
# lib/Text/Diff/Config.pm - MIT
|
|
||||||
# lib/Text/Diff/Table.pm - GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
||||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (GPL-2.0-or-later OR Artistic-1.0-Perl) AND MIT
|
|
||||||
URL: https://metacpan.org/release/Text-Diff
|
URL: https://metacpan.org/release/Text-Diff
|
||||||
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-Diff-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-Diff-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: coreutils
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(Config)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
# Run-time:
|
# Run-time:
|
||||||
@ -30,6 +25,7 @@ BuildRequires: perl(Data::Dumper)
|
|||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
Requires: perl(Algorithm::Diff) >= 1.19
|
Requires: perl(Algorithm::Diff) >= 1.19
|
||||||
|
|
||||||
# Remove under-specified dependencies
|
# Remove under-specified dependencies
|
||||||
@ -42,22 +38,8 @@ integrated with Perl and available on all platforms. It is often faster
|
|||||||
than shelling out to a system's diff executable for small files, and
|
than shelling out to a system's diff executable for small files, and
|
||||||
generally slower on larger files.
|
generally slower on larger files.
|
||||||
|
|
||||||
%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 Text-Diff-%{version}
|
%setup -q -n Text-Diff-%{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 NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
@ -66,22 +48,6 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_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
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -92,66 +58,7 @@ make test
|
|||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files tests
|
|
||||||
%{_libexecdir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Dec 17 2025 Michal Josef Špaček <mspacek@redhat.com> - 1.45-25
|
|
||||||
- Fix tests for Image Mode.
|
|
||||||
Resolves: RHEL-136489
|
|
||||||
|
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.45-24
|
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.45-23
|
|
||||||
- Package tests
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.45-22
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-21
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-20
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-19
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 01 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.45-18
|
|
||||||
- Update license to SPDX format
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-17
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-15
|
|
||||||
- Perl 5.36 rebuild
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-14
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-12
|
|
||||||
- Perl 5.34 rebuild
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-9
|
|
||||||
- Perl 5.32 rebuild
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-7
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
# RHEL
|
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-*
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
summary: Sanity tests
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (Text-Diff-1.45.tar.gz) = 569370707bf30d60d12df6389594bcdba050805005916ac3a485c2226e528891b0af9ecfcc13d20e4f377d2c36a7ff67e51de5ca409c647aa8a36b7a87eab367
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
summary: Upstream tests
|
|
||||||
contact: Michal Josef Spacek <mspacek@redhat.com>
|
|
||||||
component: perl-Text-Diff
|
|
||||||
require: perl-Text-Diff-tests
|
|
||||||
test: /usr/libexec/perl-Text-Diff/test
|
|
||||||
enabled: true
|
|
||||||
tag:
|
|
||||||
- rhel-buildroot
|
|
||||||
adjust:
|
|
||||||
- enabled: false
|
|
||||||
when: distro < rhel-10 or distro < centos-stream-10
|
|
||||||
continue: false
|
|
||||||
Loading…
Reference in New Issue
Block a user