automatic version update by autodist [release 0.015-1mamba;Mon Mar 13 2023]

This commit is contained in:
Automatic Build System 2024-01-06 09:29:19 +01:00
parent fa6431ee02
commit b1a3698622

View File

@ -1,22 +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-Params-Classify Name: perl-Params-Classify
Version: 0.013 Version: 0.015
Release: 2mamba Release: 1mamba
Summary: Params::Classify - argument type classification Summary: Params::Classify - argument type classification
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-%{version}.tar.gz Source: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 perl-Params-Classify' to get the list of build requirements. BuildRequires: glibc-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: perl-devel BuildRequires: perl-devel
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Params::Classify - argument type classification. Params::Classify - argument type classification.
@ -25,14 +25,13 @@ Params::Classify - argument type classification.
%setup -q -n Params-Classify-%{version} %setup -q -n Params-Classify-%{version}
%build %build
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__perl} Build.PL installdirs=vendor
./Build
%make ./Build test
%make 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 | \
@ -44,6 +43,8 @@ for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist echo "%dir ${dir#%buildroot}" >> .packlist
done done
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -51,6 +52,9 @@ done
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Mon Mar 13 2023 Automatic Build System <autodist@mambasoft.it> 0.015-1mamba
- automatic version update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.013-2mamba * Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.013-2mamba
- rebuilt with perl 5.24 - rebuilt with perl 5.24