import UBI perl-Data-Section-0.200008-8.el10
This commit is contained in:
parent
ab5c3918a2
commit
dbff9f7372
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Data-Section-0.200007.tar.gz
|
Data-Section-0.200008.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
98b18e601ea9b80bbbc98ee48c616c86db2698be SOURCES/Data-Section-0.200007.tar.gz
|
|
@ -9,10 +9,10 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-Data-Section
|
Name: perl-Data-Section
|
||||||
Version: 0.200007
|
Version: 0.200008
|
||||||
Release: 8%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Read multiple hunks of data out of your DATA section
|
Summary: Read multiple hunks of data out of your DATA section
|
||||||
License: GPL+ or Artistic
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
URL: https://metacpan.org/release/Data-Section
|
URL: https://metacpan.org/release/Data-Section
|
||||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-Section-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-Section-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -20,9 +20,10 @@ BuildArch: noarch
|
|||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
# Runtime
|
# Runtime
|
||||||
BuildRequires: perl(Encode)
|
BuildRequires: perl(Encode)
|
||||||
BuildRequires: perl(MRO::Compat) >= 0.09
|
BuildRequires: perl(MRO::Compat) >= 0.09
|
||||||
@ -44,24 +45,52 @@ BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|||||||
BuildRequires: perl(Test::Pod) >= 1.41
|
BuildRequires: perl(Test::Pod) >= 1.41
|
||||||
%endif
|
%endif
|
||||||
# Dependencies
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
||||||
|
# Filter modules bundled for tests
|
||||||
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(I::.*\\)
|
||||||
|
%global __requires_exclude %{__requires_exclude}|^perl\\((Child|End|Godfather|Grandchild)\\)
|
||||||
|
%global __requires_exclude %{__requires_exclude}|^perl\\((Header|Latin1|Mother|Relaxed|No.*)\\)
|
||||||
|
%global __requires_exclude %{__requires_exclude}|^perl\\((Unicode_.*pragma|WindowsNewlines)\\)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Data::Section provides an easy way to access multiple named chunks of
|
Data::Section provides an easy way to access multiple named chunks of
|
||||||
line-oriented data in your module's DATA section. It was written to allow
|
line-oriented data in your module's DATA section. It was written to allow
|
||||||
modules to store their own templates, but probably has other uses.
|
modules to store their own templates, but probably has other uses.
|
||||||
|
|
||||||
|
%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 Data-Section-%{version}
|
%setup -q -n Data-Section-%{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
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
%{make_install}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
%{_fixperms} -c %{buildroot}
|
||||||
%{_fixperms} -c $RPM_BUILD_ROOT
|
|
||||||
|
# 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
|
%check
|
||||||
make test
|
make test
|
||||||
@ -75,7 +104,62 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|||||||
%{perl_vendorlib}/Data/
|
%{perl_vendorlib}/Data/
|
||||||
%{_mandir}/man3/Data::Section.3*
|
%{_mandir}/man3/Data::Section.3*
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.200008-8
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Tue Jul 23 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.200008-7
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.200008-6
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.200008-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.200008-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.200008-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.200008-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 01 2023 Emmanuel Seyman <emmanuel@seyman.fr> - 0.200008-1
|
||||||
|
- Update to 0.200008
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.200007-16
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.200007-13
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.200007-10
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-8
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.200007-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue
Block a user