Compare commits

...

No commits in common. "c8s" and "c10s" have entirely different histories.
c8s ... c10s

10 changed files with 290 additions and 59 deletions

61
.gitignore vendored
View File

@ -1,2 +1,61 @@
SOURCES/Date-Manip-6.60.tar.gz
Date-Manip-6.07.tar.gz
/Date-Manip-6.11.tar.gz
/Date-Manip-6.12.tar.gz
/Date-Manip-6.13.tar.gz
/Date-Manip-6.14.tar.gz
/Date-Manip-6.20.tar.gz
/Date-Manip-6.21.tar.gz
/Date-Manip-6.22.tar.gz
/Date-Manip-6.23.tar.gz
/Date-Manip-6.24.tar.gz
/Date-Manip-6.25.tar.gz
/Date-Manip-6.30.tar.gz
/Date-Manip-6.31.tar.gz
/Date-Manip-6.32.tar.gz
/Date-Manip-6.34.tar.gz
/Date-Manip-6.36.tar.gz
/Date-Manip-6.37.tar.gz
/Date-Manip-6.38.tar.gz
/Date-Manip-6.39.tar.gz
/Date-Manip-6.40.tar.gz
/Date-Manip-6.41.tar.gz
/Date-Manip-6.42.tar.gz
/Date-Manip-6.43.tar.gz
/Date-Manip-6.44.tar.gz
/Date-Manip-6.45.tar.gz
/Date-Manip-6.46.tar.gz
/Date-Manip-6.47.tar.gz
/Date-Manip-6.48.tar.gz
/Date-Manip-6.49.tar.gz
/Date-Manip-6.50.tar.gz
/Date-Manip-6.51.tar.gz
/Date-Manip-6.52.tar.gz
/Date-Manip-6.53.tar.gz
/Date-Manip-6.54.tar.gz
/Date-Manip-6.55.tar.gz
/Date-Manip-6.56.tar.gz
/Date-Manip-6.57.tar.gz
/Date-Manip-6.58.tar.gz
/Date-Manip-6.59.tar.gz
/Date-Manip-6.60.tar.gz
/Date-Manip-6.70.tar.gz
/Date-Manip-6.72.tar.gz
/Date-Manip-6.73.tar.gz
/Date-Manip-6.75.tar.gz
/Date-Manip-6.76.tar.gz
/Date-Manip-6.77.tar.gz
/Date-Manip-6.78.tar.gz
/Date-Manip-6.79.tar.gz
/Date-Manip-6.80.tar.gz
/Date-Manip-6.81.tar.gz
/Date-Manip-6.82.tar.gz
/Date-Manip-6.83.tar.gz
/Date-Manip-6.85.tar.gz
/Date-Manip-6.86.tar.gz
/Date-Manip-6.88.tar.gz
/Date-Manip-6.89.tar.gz
/Date-Manip-6.90.tar.gz
/Date-Manip-6.91.tar.gz
/Date-Manip-6.92.tar.gz
/Date-Manip-6.93.tar.gz
/Date-Manip-6.94.tar.gz

11
.packit.yaml Normal file
View File

@ -0,0 +1,11 @@
upstream_project_url: https://github.com/SBECK-github/Date-Manip
upstream_tag_template: v{version}
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.87.0.

View File

@ -1,7 +1,18 @@
--- !Policy
id: fedora_policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_testing
- bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
# RHEL
--- !Policy
product_versions:
- rhel-8
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1,36 +1,42 @@
Name: perl-Date-Manip
Version: 6.60
Release: 3%{?dist}
Version: 6.94
Release: 5%{?dist}
Summary: Date manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Date-Manip/
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Date-Manip
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(:VERSION) >= 5.10.0
BuildRequires: perl(Carp)
# XXX: BuildRequires: perl(Cwd)
# XXX: BuildRequires: perl(Data::Dumper)
# Cwd not used at tests
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
# XXX: BuildRequires: perl(File::Find)
# XXX: BuildRequires: perl(File::Spec)
# File::Find not used at tests
# File::Spec not used at tests
BuildRequires: perl(integer)
BuildRequires: perl(IO::File)
BuildRequires: perl(Storable)
BuildRequires: perl(utf8)
# Win32::TieRegistry not used
# Tests only
BuildRequires: perl(Test::Inter)
# File::Basename not used
# File::Find::Rule not used
# lib not used
BuildRequires: perl(Test::Inter) >= 1.09
BuildRequires: perl(Test::More)
Requires: perl-libs
# Test::Pod 1.00 not used
# Test::Pod::Coverage 1.00 not used
Requires: perl(Cwd)
Requires: perl(File::Find)
Requires: perl(File::Spec)
@ -41,10 +47,13 @@ Obsoletes: perl-DateManip < 5.48-1
%{?perl_default_filter}
# Filter modules bundled for tests
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(tests.pl\\)
%description
Date::Manip is a series of modules designed to make any common date/time
operation easy to do. Operations such as comparing two times, determining a
data a given amount of time from another, or parsing international times
operation easy to do. Operations such as comparing two times, determining
a data a given amount of time from another, or parsing international times
are all easily done. It deals with time as it is used in the Gregorian
calendar (the one currently in use) with full support for time changes due
to daylight saving time.
@ -62,48 +71,199 @@ with "%{_libexecdir}/%{name}/test".
%setup -q -n Date-Manip-%{version}
# Help generators to recognize Perl scripts
for F in t/*.t; do
for F in t/*.t t/*.pl; 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 NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
# Remove release tests
rm -f %{buildroot}%{_libexecdir}/%{name}/t/pod*
rm -f %{buildroot}%{_libexecdir}/%{name}/t/_pod*
rm -f %{buildroot}%{_libexecdir}/%{name}/t/_version.t
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
unset DATE_MANIP DATE_MANIP_DEBUG DATE_MANIP_DEBUG_ABBREVS \
DATE_MANIP_DEBUG_ZONES Date_Manip_RELEASE_TESTING DATE_MANIP_TEST_DM5 \
OS MULTINET_TIMEZONE 'SYS$TIMEZONE_DIFFERENTIAL' 'SYS$TIMEZONE_NAME' \
'SYS$TIMEZONE_RULE' 'TCPIP$TZ' 'UCX$TZ'
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
unset DATE_MANIP DATE_MANIP_DEBUG DATE_MANIP_DEBUG_ABBREVS \
DATE_MANIP_DEBUG_ZONES Date_Manip_RELEASE_TESTING DATE_MANIP_TEST_DM5 \
OS MULTINET_TIMEZONE 'SYS$TIMEZONE_DIFFERENTIAL' 'SYS$TIMEZONE_NAME' \
'SYS$TIMEZONE_RULE' 'TCPIP$TZ' 'UCX$TZ'
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
%license LICENSE
%doc README README.first
%{perl_vendorlib}/Date/
%{_mandir}/man[13]/*.[13]*
%dir %{perl_vendorlib}/Date
%{perl_vendorlib}/Date/Manip
%{perl_vendorlib}/Date/Manip.{pm,pod}
%{_mandir}/man1/dm_*.1*
%{_mandir}/man3/Date::Manip.3*
%{_mandir}/man3/Date::Manip::*.3*
%{_bindir}/dm_*
%files tests
%{_libexecdir}/%{name}
%changelog
* Thu Jul 20 2023 Jitka Plesnikova <jplesnik@redhat.com> - 6.60-3
- Replace versioned MODULE_COMPAT by non-versioned perl-libs
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.94-5
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.94-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.94-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.94-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 10 2024 Jitka Plesnikova <jplesnik@redhat.com> - 6.94-1
- 6.94 bump (rhbz#2257491)
- Package tests
- Resolves: rhbz#2219504
* Wed Jan 03 2024 Petr Pisar <ppisar@redhat.com> - 6.93-2
- Adapt test envinronment guard to changes in 6.93
- List files explicitly
- Run tests in parallel
* Sun Dec 03 2023 Packit <hello@packit.dev> - 6.93-1
- Release: v6.93 (Sullivan Beck)
- Checkpoint: v6.93 (Sullivan Beck)
- Remove Travis (Sullivan Beck)
- Initial checkin of next release cycle: 6.93 (Sullivan Beck)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Jan Pazdziora <jpazdziora@redhat.com> - 6.92-1
- 2213282 - Rebase to upstream version 6.92.
* Wed Mar 08 2023 Jan Pazdziora <jpazdziora@redhat.com> - 6.91-1
- 2174484 - Rebase to upstream version 6.91.
* Fri Mar 03 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.90-3
- Update license to SPDX format
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Dec 10 2022 Jan Pazdziora <jpazdziora@redhat.com> - 6.90-1
- 2150409 - Rebase to upstream version 6.90.
* Wed Sep 21 2022 Jan Pazdziora <jpazdziora@redhat.com> - 6.89-1
- 2123418 - Rebase to upstream version 6.89.
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.88-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 06 2022 Jitka Plesnikova <jplesnik@redhat.com> - 6.88-2
- Perl 5.36 re-rebuild updated packages
* Mon Jun 06 2022 Jan Pazdziora <jpazdziora@redhat.com> - 6.88-1
- 2093024 - Rebase to upstream version 6.88.
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 6.86-3
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.86-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 23 2021 Jan Pazdziora <jpazdziora@redhat.com> - 6.86-1
- 2023516 - Rebase to upstream version 6.86.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.85-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 6.85-2
- Perl 5.34 rebuild
* Wed Mar 03 2021 Jan Pazdziora <jpazdziora@redhat.com> - 6.85-1
- 1933868 - Rebase to upstream version 6.85.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.83-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 15 2021 Petr Pisar <ppisar@redhat.com> - 6.83-2
- Specify all dependendencies
* Tue Dec 15 2020 Jan Pazdziora <jpazdziora@redhat.com> - 6.83-1
- 1902872 - Rebase to upstream version 6.83.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.82-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.82-2
- Perl 5.32 rebuild
* Mon Jun 08 2020 Jan Pazdziora <jpazdziora@redhat.com> - 6.82-1
- 1842524 - Rebase to upstream version 6.82.
* Mon Apr 27 2020 Jan Pazdziora <jpazdziora@redhat.com> - 6.81-1
- 1827253 - Rebase to upstream version 6.81.
* Tue Mar 03 2020 Jan Pazdziora <jpazdziora@redhat.com> - 6.80-1
- 1809202 - Rebase to upstream version 6.80.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.79-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Dec 09 2019 Jan Pazdziora <jpazdziora@redhat.com> - 6.79-1
- 1778849 - Rebase to upstream version 6.79.
* Mon Sep 02 2019 Jan Pazdziora <jpazdziora@redhat.com> - 6.78-1
- 1747170 - Rebase to upstream version 6.78.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.77-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 06 2019 Jan Pazdziora <jpazdziora@redhat.com> - 6.77-1
- 1716417 - Rebase to upstream version 6.77.
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.76-2
- Perl 5.30 rebuild
* Mon Mar 04 2019 Jan Pazdziora <jpazdziora@redhat.com> - 6.76-1
- 1684273 - Rebase to upstream version 6.76.
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.75-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Dec 10 2018 Jan Pazdziora <jpazdziora@redhat.com> - 6.75-1
- 1656324 - Rebase to upstream version 6.75.
* Mon Sep 10 2018 Jan Pazdziora <jpazdziora@redhat.com> - 6.73-1
- 1624940 - Rebase to upstream version 6.73.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.72-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.72-2
- Perl 5.28 rebuild
* Thu Jun 07 2018 Jan Pazdziora <jpazdziora@redhat.com> - 6.72-1
- 1585345 - Rebase to upstream version 6.72.
* Fri Mar 02 2018 Jan Pazdziora <jpazdziora@redhat.com> - 6.70-1
- 1550748 - Rebase to upstream version 6.70.
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

12
plans/internal.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Private (RHEL) beakerlib tests
enabled: false
adjust:
- when: distro == rhel
enabled: true
because: private tests are accesible only within rhel pipline
discover:
- name: rhel
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/perl-Date-Manip
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (Date-Manip-6.60.tar.gz) = 46ac9696aea04167427957a43de1b44041ea05d3eaf01ffbdbfda9f458b3073f36ec46c9661ac437f96731d0f40aebc206ef385c6c4aff1b147917fc2c89a1cf
SHA512 (Date-Manip-6.94.tar.gz) = 0c7131b023774616e5e3eacd270273d2b5e9cc9169d7be4433f98cb404b10dff38a8fe655522c29fdb68039f2ca6dc834dadf20586657e72151d26b6e782eb21

View File

@ -1,9 +0,0 @@
#!/bin/bash
OUTPUT=`rpm -qR perl-Date-Manip`
if ! echo "$OUTPUT" | grep -q "MODULE_COMPAT_"; then
exit 0
else
exit 1
fi

View File

@ -1,17 +0,0 @@
summary: Test for BZ 2219504
component:
- perl-Date-Manip
require:
- bash
- perl-Date-Manip
test: ./bz_2219504-check.sh
enabled: false
adjust:
- when: distro == centos-stream-8 or distro == rhel-8
enabled: true
tag:
- TestCaseCopy
- Tier1
tier: '1'
extra-nitrate: TC#0615610
id: 8cbc566f-9bbb-47ab-a526-0945257a30c6

View File

@ -2,9 +2,10 @@ summary: Upstream tests
component: perl-Date-Manip
require: perl-Date-Manip-tests
test: /usr/libexec/perl-Date-Manip/test
enabled: true
tag:
- Tier1
- rhel-buildroot
tier: '1'
extra-nitrate: TC#0615611
id: 083fd883-2fc4-426e-aae8-c0274c8e33a7
adjust:
- enabled: false
when: distro < rhel-10 or distro < centos-stream-10
continue: false