Compare commits
No commits in common. "c8s" and "imports/c10s/perl-libintl-perl-1.33-9.el10" have entirely different histories.
c8s
...
imports/c1
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,2 +1,9 @@
|
||||
SOURCES/libintl-perl-1.29.tar.gz
|
||||
/libintl-perl-1.25.tar.gz
|
||||
/libintl-perl-1.26.tar.gz
|
||||
/libintl-perl-1.27.tar.gz
|
||||
/libintl-perl-1.28.tar.gz
|
||||
/libintl-perl-1.29.tar.gz
|
||||
/libintl-perl-1.30.tar.gz
|
||||
/libintl-perl-1.31.tar.gz
|
||||
/libintl-perl-1.32.tar.gz
|
||||
/libintl-perl-1.33.tar.gz
|
||||
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
2
perl-libintl-perl.rpmlintrc
Normal file
2
perl-libintl-perl.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error .* gettext");
|
@ -1,16 +1,16 @@
|
||||
Summary: Internationalization library for Perl, compatible with gettext
|
||||
Name: perl-libintl-perl
|
||||
Version: 1.29
|
||||
Release: 2%{?dist}
|
||||
# gettext_xs/gettext_xs.pm: GPLv3+
|
||||
# gettext_xs/Makefile.PL: LGPLv2+
|
||||
# lib/Locale/gettext_xs.pod: LGPLv2+
|
||||
# lib/Locale/RecodeData.pm: GPLv3+
|
||||
# lib/Locale/libintlFAQ.pod: LGPLv2+
|
||||
# COPYING: GPLv3+
|
||||
License: GPLv3+ and LGPLv2+
|
||||
URL: http://search.cpan.org/dist/libintl-perl/
|
||||
Source: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
|
||||
Version: 1.33
|
||||
Release: 9%{?dist}
|
||||
# gettext_xs/gettext_xs.pm: GPL-3.0-or-later
|
||||
# gettext_xs/Makefile.PL: LGPL-2.0-or-later
|
||||
# lib/Locale/gettext_xs.pod: LGPL-2.0-or-later
|
||||
# lib/Locale/RecodeData.pm: GPL-3.0-or-later
|
||||
# lib/Locale/libintlFAQ.pod: LGPL-2.0-or-later
|
||||
# COPYING: GPL-3.0-or-later
|
||||
License: GPL-3.0-or-later AND LGPL-2.0-or-later
|
||||
URL: https://metacpan.org/release/libintl-perl
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
|
||||
# this module was renamed in the f25 dev cycle
|
||||
Provides: perl-libintl = %{version}-%{release}
|
||||
Obsoletes: perl-libintl < 1.25
|
||||
@ -49,10 +49,11 @@ BuildRequires: perl(I18N::Langinfo)
|
||||
# Tests:
|
||||
# Needed for tests/03bind_textdomain_codeset_pp.t
|
||||
BuildRequires: glibc-langpack-de
|
||||
# Needed for tests/04find_domain_bug.t
|
||||
BuildRequires: glibc-langpack-en
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(Test::Harness)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Encode::Alias)
|
||||
Requires: perl(POSIX)
|
||||
@ -66,6 +67,14 @@ The package libintl-perl is an internationalization library for Perl that
|
||||
aims to be compatible with the Uniforum message translations system as
|
||||
implemented for example in GNU gettext.
|
||||
|
||||
%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
|
||||
%setup -q -n libintl-perl-%{version}
|
||||
@ -80,17 +89,33 @@ for file in po/*.po; do
|
||||
mv $file.new $file
|
||||
done
|
||||
rm .gitignore MANIFEST
|
||||
cd ../..
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in test.pl tests/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
find %{buildroot} -type f \( -name .packlist -o \
|
||||
-name '*.bs' -size 0 \) -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a xs_disabled %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a tests %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a test.pl %{buildroot}%{_libexecdir}/%{name}
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
T2_HARNESS_JOB_COUNT="$(getconf _NPROCESSORS_ONLN)" %{_libexecdir}/%{name}/test.pl
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -103,7 +128,97 @@ make test
|
||||
%{perl_vendorarch}/auto/Locale/
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.33-9
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.33-8
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-4
|
||||
- Perl 5.38 rebuild
|
||||
|
||||
* Wed May 31 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.33-3
|
||||
- Update license to SPDX format
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sun Dec 25 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 1.33-1
|
||||
- Update to 1.33
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-6
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-3
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sun Nov 01 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 1.32-1
|
||||
- Update to 1.32
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-7
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 1.31-6
|
||||
- Spec file cleanups: Use make_build and make_install macros
|
||||
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-3
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Nov 25 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.31-1
|
||||
- Update to 1.31
|
||||
- Whitelist known rpmlint errors
|
||||
|
||||
* Tue Nov 06 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.30-1
|
||||
- Update to 1.30
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-4
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Tue Jun 05 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3
|
||||
- Run the tests with LANG=en_US to ensure we use the right dictionary
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libintl-perl-1.29.tar.gz) = fc3b3e526aa9f5fc9f69da4cbd6653c27fbc380f0139bc5e642c5299def533209cab0112702b1faa13a52b1392f028dbb943b09974bdbc09812f11dee0ccfc7f
|
||||
SHA512 (libintl-perl-1.33.tar.gz) = 494486d2e2f07fa8ee4c4b9d7b2576973772330aab7736488a692c54a6b250b0b7c06892d8cffc164346b9ebd3549141378fc84da339eaa4b34dc16c4f1a59b6
|
||||
|
12
tests/upstream-tests.fmf
Normal file
12
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Upstream tests
|
||||
contact: Michal Josef Spacek <mspacek@redhat.com>
|
||||
component: perl-libintl-perl
|
||||
require: perl-libintl-perl-tests
|
||||
test: /usr/libexec/perl-libintl-perl/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