|
@@ -2,17 +2,16 @@
|
|
|
|
|
|
Summary: A perl module for reading .ini-style configuration files.
|
|
|
Name: perl-%{pkgname}
|
|
|
-Version: 3.000002
|
|
|
+Version: 3.000003
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Group: Development/Libraries
|
|
|
-License: GPL+ or Artistic
|
|
|
-URL: http://config-inifiles.sourceforge.net/
|
|
|
-
|
|
|
-Source0: %{pkgname}-%{version}.tar.gz
|
|
|
-
|
|
|
+Group: programming
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
+License: GPL+ or Artistic
|
|
|
+URL: http://config-inifiles.sourceforge.net/
|
|
|
+Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{pkgname}-%{version}.tar.gz
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
BuildRequires: perl(Module::Build)
|
|
@@ -41,8 +40,7 @@ BuildRequires: perl(parent)
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
-BuildArch: noarch
|
|
|
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
+Requires: perl(:SCRIPT_COMPAT_5)
|
|
|
|
|
|
%description
|
|
|
Config::IniFiles provides a way to have readable configuration files
|
|
@@ -50,19 +48,23 @@ outside your Perl script. Configurations can be imported (inherited,
|
|
|
stacked,...), sections can be grouped, and settings can be accessed
|
|
|
from a tied hash.
|
|
|
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
# Normalize end-of-lines
|
|
|
sed -i -e 's/\r$//' Changes OLD-Changes.txt
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
perl Build.PL installdirs=vendor
|
|
|
./Build
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
+
|
|
|
%check
|
|
|
./Build test
|
|
|
%clean
|
|
@@ -77,6 +79,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000003-1
|
|
|
+- new upstream release.
|
|
|
+- built with perl-5.34.0.
|
|
|
+
|
|
|
* Tue Sep 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000002-1
|
|
|
- new upstream release.
|
|
|
- built with perl-5.26.2.
|