Compare commits

..

24 Commits
f29 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
1257c20cb1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 21:43:09 +00:00
Fedora Release Engineering
ca952baf07 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 19:59:30 +00:00
Fedora Release Engineering
036ad7921d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 03:15:27 +00:00
Jitka Plesnikova
d966aa2cb8 Increase release to favour standalone package 2023-07-11 09:39:36 +02:00
Michal Josef Špaček
9b7a339422 Update license to SPDX format 2023-03-06 18:16:12 +01:00
Fedora Release Engineering
4664cd0a34 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 07:31:06 +00:00
Jitka Plesnikova
c8f8b38cc7 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 20:28:37 +01:00
Fedora Release Engineering
9fcb5ec1bf Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 12:23:46 +00:00
Jitka Plesnikova
cdeae9127b Increase release to favour standalone package 2022-05-30 16:14:39 +02:00
Jitka Plesnikova
e0c3b787c5 1.31 bump 2021-08-23 12:00:40 +02:00
Fedora Release Engineering
02c94236f0 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 07:15:15 +00:00
Jitka Plesnikova
19ce612593 Package tests 2021-06-07 08:09:51 +02:00
Jitka Plesnikova
2d0197af0a 1.30 bump 2021-06-07 07:57:32 +02:00
Jitka Plesnikova
e55b78802a Increase release to favour standalone package 2021-05-21 10:03:10 +02:00
Fedora Release Engineering
cd02e7ac2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 05:43:29 +00:00
Jitka Plesnikova
f93041b2ec 1.29 bump 2020-09-29 12:24:53 +02:00
Jitka Plesnikova
4641470355 1.28 bump 2020-09-23 07:39:24 +02:00
Fedora Release Engineering
7078fea22d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 19:58:10 +00:00
Jitka Plesnikova
2b94c16062 Increase release to favour standalone package 2020-06-22 13:45:35 +02:00
Tom Stellard
88f2b5cc63 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
2020-02-06 06:04:58 +00:00
Fedora Release Engineering
b410c5faf7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 05:57:19 +00:00
Fedora Release Engineering
ef34010f0f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 07:55:03 +00:00
Jitka Plesnikova
95d06a89ad Increase release to favour standalone package 2019-05-30 11:04:30 +02:00
Fedora Release Engineering
18cd255345 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 01:26:24 +00:00
7 changed files with 130 additions and 12 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

4
.gitignore vendored
View File

@ -11,3 +11,7 @@
/Unicode-Collate-1.24.tar.gz
/Unicode-Collate-1.25.tar.gz
/Unicode-Collate-1.27.tar.gz
/Unicode-Collate-1.28.tar.gz
/Unicode-Collate-1.29.tar.gz
/Unicode-Collate-1.30.tar.gz
/Unicode-Collate-1.31.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View File

@ -1,11 +1,11 @@
Name: perl-Unicode-Collate
Version: 1.27
Release: 1%{?dist}
Version: 1.31
Release: 502%{?dist}
Summary: Unicode Collation Algorithm
# Collate/allkeys.txt: Unicode (the file contains a link to
# Collate/allkeys.txt: Unicode-DFS-2016 (the file contains a link to
# <http://www.unicode.org/terms_of_use.html>)
# other files: GPL+ or Artistic
License: (GPL+ or Artistic) and Unicode
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-DFS-2016
URL: https://metacpan.org/release/Unicode-Collate
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
BuildRequires: coreutils
@ -25,7 +25,6 @@ BuildRequires: perl(warnings)
BuildRequires: perl(base)
BuildRequires: perl(Unicode::Normalize)
BuildRequires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Unicode::Normalize)
Conflicts: perl < 4:5.22.0-347
@ -33,6 +32,15 @@ Conflicts: perl < 4:5.22.0-347
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
Collation Algorithm).
%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 Unicode-Collate-%{version}
@ -40,6 +48,12 @@ Collation Algorithm).
rm Collate/Locale/*
# Collate/CJK/Korean.pm is an input for the mklocale script, do not remove it
# Help file to recognise the 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
# Regenerate code from Collate/allkeys.txt whose authority is
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
@ -47,15 +61,25 @@ perl mklocale
mv Locale/*.pl Collate/Locale
mv Korean.pm Collate/CJK
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%{make_install}
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{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 . -r -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
@ -64,7 +88,80 @@ make test
%{perl_vendorarch}/Unicode*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-499
- Increase release to favour standalone package
* Mon Mar 06 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.31-491
- Update license to SPDX format
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-488
- Increase release to favour standalone package
* Mon Aug 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
- 1.31 bump
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 07 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-1
- 1.30 bump
- Package tests
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Sep 29 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
- 1.29 bump
* Wed Sep 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-1
- 1.28 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-456
- Increase release to favour standalone package
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.27-441
- 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.27-440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-438
- Increase release to favour standalone package
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 03 2019 Petr Pisar <ppisar@redhat.com> - 1.27-1
- 1.27 bump

5
plans/sanity.fmf Normal file
View File

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

View File

@ -1 +1 @@
SHA512 (Unicode-Collate-1.27.tar.gz) = d7acd211151a49cff76923267a08ca0c2b87be0ab2af9bd28fd339bbf68ce34091d0df9aa42bf7d2072de34cf8986844265e17a97b0f65e96d1ff12573e3fe0c
SHA512 (Unicode-Collate-1.31.tar.gz) = fff8f06ae561100006ce0ab2aabe561e27fee30237db8da804c94c70eee9787e05b19c5908614ddbb3b263a0fdaea9a9933bc74818951e009a280afa782e19d1

4
tests/upstream-tests.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Upstream tests
component: perl-Unicode-Collate
require: perl-Unicode-Collate-tests
test: /usr/libexec/perl-Unicode-Collate/test