|
|
@ -6,10 +6,10 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-YAML-Tiny
|
|
|
|
Name: perl-YAML-Tiny
|
|
|
|
Version: 1.73
|
|
|
|
Version: 1.74
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Read/Write YAML files with as little code as possible
|
|
|
|
Summary: Read/Write YAML files with as little code as possible
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
URL: https://metacpan.org/release/YAML-Tiny
|
|
|
|
URL: https://metacpan.org/release/YAML-Tiny
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/YAML/YAML-Tiny-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/YAML/YAML-Tiny-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -19,10 +19,12 @@ BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
@ -30,7 +32,6 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
@ -41,6 +42,7 @@ BuildRequires: perl(IO::Dir)
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
|
|
|
|
BuildRequires: perl(open)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
@ -50,19 +52,35 @@ BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
|
BuildRequires: perl(JSON::MaybeXS) >= 1.001000
|
|
|
|
BuildRequires: perl(JSON::MaybeXS) >= 1.001000
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Runtime
|
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(Config)
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
Requires: perl(Scalar::Util)
|
|
|
|
|
|
|
|
|
|
|
|
# Remove private test modules
|
|
|
|
|
|
|
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((SubtestCompat|TestBridge|TestML::Tiny|TestUtils)\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
YAML::Tiny is a Perl class for reading and writing YAML-style files,
|
|
|
|
YAML::Tiny is a Perl class for reading and writing YAML-style files,
|
|
|
|
written with as little code as possible, reducing load time and
|
|
|
|
written with as little code as possible, reducing load time and
|
|
|
|
memory overhead.
|
|
|
|
memory overhead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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 YAML-Tiny-%{version}
|
|
|
|
%setup -q -n YAML-Tiny-%{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
|
|
|
@ -72,6 +90,14 @@ make %{?_smp_mflags}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} -c %{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 . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
@ -82,13 +108,57 @@ make test
|
|
|
|
%{perl_vendorlib}/YAML/
|
|
|
|
%{perl_vendorlib}/YAML/
|
|
|
|
%{_mandir}/man3/YAML::Tiny.3*
|
|
|
|
%{_mandir}/man3/YAML::Tiny.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.73-13
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.74-8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.74-7
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.74-7
|
|
|
|
|
|
|
|
- Fix filters of dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 15 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.74-6
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.74-5
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.74-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 23 2023 Paul Howarth <paul@city-fan.org> - 1.74-1
|
|
|
|
|
|
|
|
- Update to 1.74 (rhbz#2181091)
|
|
|
|
|
|
|
|
- A few documentation tweaks
|
|
|
|
|
|
|
|
- Use SPDX-format license tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-17
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-15
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.73-12
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-12
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-11
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|