update to 1.54 [release 1.54-1mamba;Sun May 16 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 08:42:55 +01:00
parent 1fab088ac0
commit b1d1cf34ee

View File

@ -1,19 +1,22 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Config-File Name: perl-Config-File
Version: 1.51 Version: 1.54
Release: 1mamba Release: 1mamba
Summary: Config::File - Parse a simple configuration file Summary: Config::File - Parse a simple configuration file
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://search.cpan.org/dist/Config-File URL: https://www.cpan.org/
Source: http://www.cpan.org/modules/by-module/Config/Config-File-%{version}.tar.gz Source: https://cpan.metacpan.org/modules/by-module/Config/Config-File-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel >= %{perl_major_ver} BuildRequires: perl-devel >= %{perl_major_ver}
Requires: perl >= %{perl_major_ver} Requires: perl >= %{perl_major_ver}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Config::File parses a simple configuration file and stores its values in an anonymous hash reference. Config::File parses a simple configuration file and stores its values in an anonymous hash reference.
@ -22,16 +25,17 @@ Config::File parses a simple configuration file and stores its values in an anon
%setup -q -n Config-File-%{version} %setup -q -n Config-File-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
%make ./Build
%make test ./Build test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl ./Build install destdir=%{buildroot}
packlist=`find %{buildroot} -name .packlist` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
@ -47,6 +51,9 @@ rm -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Sun May 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.54-1mamba
- update to 1.54
* Wed Jan 02 2019 Automatic Build System <autodist@mambasoft.it> 1.51-1mamba * Wed Jan 02 2019 Automatic Build System <autodist@mambasoft.it> 1.51-1mamba
- automatic update by autodist - automatic update by autodist