|
|
1faf8d7 |
# Filter the Perl extension module
|
|
|
1faf8d7 |
%{?perl_default_filter}
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%global pkgname Config-Std
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
Summary: Perl module to load and save configuration files in a standard format
|
|
|
1faf8d7 |
Name: perl-Config-Std
|
|
|
1faf8d7 |
Version: 0.903
|
|
|
6da12fe |
Release: 14%{?dist}
|
|
|
1faf8d7 |
License: GPL+ or Artistic
|
|
|
0abf194 |
URL: https://metacpan.org/release/%{pkgname}
|
|
|
0abf194 |
Source: https://cpan.metacpan.org/authors/id/B/BR/BRICKER/%{pkgname}-%{version}.tar.gz
|
|
|
1faf8d7 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
1faf8d7 |
BuildRequires: perl-generators
|
|
|
1faf8d7 |
BuildRequires: perl-interpreter
|
|
|
1faf8d7 |
BuildRequires: make
|
|
|
44b6b82 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
1faf8d7 |
BuildRequires: perl(Carp)
|
|
|
1faf8d7 |
BuildRequires: perl(Class::Std)
|
|
|
1faf8d7 |
BuildRequires: perl(Fcntl)
|
|
|
1faf8d7 |
BuildRequires: perl(strict)
|
|
|
1faf8d7 |
BuildRequires: perl(version)
|
|
|
1faf8d7 |
BuildRequires: perl(warnings)
|
|
|
1faf8d7 |
# Tests only
|
|
|
44b6b82 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
44b6b82 |
BuildRequires: perl(TAP::Harness)
|
|
|
44b6b82 |
%else
|
|
|
1faf8d7 |
BuildRequires: perl(TAP::Harness) >= 3.31
|
|
|
44b6b82 |
%endif
|
|
|
1faf8d7 |
BuildRequires: perl(Test::More)
|
|
|
1faf8d7 |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
1faf8d7 |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
1faf8d7 |
BuildArch: noarch
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%description
|
|
|
1faf8d7 |
A perl module to load and save configuration files in a standard format.
|
|
|
1faf8d7 |
The configuration language is deliberately simple and limited, and the
|
|
|
1faf8d7 |
module works hard to preserve as much information (section order, comments
|
|
|
1faf8d7 |
etc.) as possible when a configuration file is updated.
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%prep
|
|
|
1faf8d7 |
%setup -q -n %{pkgname}-%{version}
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%build
|
|
|
44b6b82 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
44b6b82 |
%make_build
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%install
|
|
|
44b6b82 |
%make_install
|
|
|
44b6b82 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
44b6b82 |
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -delete
|
|
|
44b6b82 |
%endif
|
|
|
1faf8d7 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%check
|
|
|
44b6b82 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
44b6b82 |
make test HARNESS_OPTIONS=j1
|
|
|
44b6b82 |
%else
|
|
|
1faf8d7 |
make test
|
|
|
44b6b82 |
%endif
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%files
|
|
|
1faf8d7 |
%license LICENSE
|
|
|
1faf8d7 |
%doc Changes README
|
|
|
1faf8d7 |
%{perl_vendorlib}/Config/
|
|
|
1faf8d7 |
%{_mandir}/man3/*.3pm*
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
%changelog
|
|
|
6da12fe |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-14
|
|
|
6da12fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6da12fe |
|
|
|
129e5c7 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-13
|
|
|
129e5c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
129e5c7 |
|
|
|
0a6286f |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.903-12
|
|
|
0a6286f |
- Perl 5.34 rebuild
|
|
|
0a6286f |
|
|
|
fce7de7 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-11
|
|
|
fce7de7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
fce7de7 |
|
|
|
f650d3f |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-10
|
|
|
f650d3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f650d3f |
|
|
|
701003c |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.903-9
|
|
|
701003c |
- Perl 5.32 rebuild
|
|
|
701003c |
|
|
|
3672616 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-8
|
|
|
3672616 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3672616 |
|
|
|
a9d0066 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-7
|
|
|
a9d0066 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a9d0066 |
|
|
|
3b3ad82 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.903-6
|
|
|
3b3ad82 |
- Perl 5.30 rebuild
|
|
|
3b3ad82 |
|
|
|
20df6cf |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-5
|
|
|
20df6cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
20df6cf |
|
|
|
e8ce3ca |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.903-4
|
|
|
e8ce3ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e8ce3ca |
|
|
|
257d79e |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.903-3
|
|
|
257d79e |
- Perl 5.28 rebuild
|
|
|
257d79e |
|
|
|
1faf8d7 |
* Mon Apr 02 2018 Robert Scheck <robert@fedoraproject.org> 0.903-2
|
|
|
1faf8d7 |
- Changes to match Fedora Packaging Guidelines (#1562632 #c1/#c2)
|
|
|
1faf8d7 |
|
|
|
1faf8d7 |
* Sun Apr 01 2018 Robert Scheck <robert@fedoraproject.org> 0.903-1
|
|
|
1faf8d7 |
- Upgrade to 0.903 (#1562632)
|
|
|
1faf8d7 |
- Initial spec file for Fedora and Red Hat Enterprise Linux
|