automatic version update by autodist [release 0.015-1mamba;Mon Mar 13 2023]
This commit is contained in:
parent
fa6431ee02
commit
b1a3698622
@ -1,22 +1,22 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Params-Classify
|
||||
Version: 0.013
|
||||
Release: 2mamba
|
||||
Version: 0.015
|
||||
Release: 1mamba
|
||||
Summary: Params::Classify - argument type classification
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
License: GPL, Artistic
|
||||
## 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
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Params::Classify - argument type classification.
|
||||
@ -25,14 +25,13 @@ Params::Classify - argument type classification.
|
||||
%setup -q -n Params-Classify-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
||||
%make
|
||||
%make test
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
./Build test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
./Build install --destdir=%{buildroot}
|
||||
|
||||
packlist=`find %{buildroot} -name .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
|
||||
done
|
||||
|
||||
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -51,6 +52,9 @@ done
|
||||
%defattr(-,root,root)
|
||||
|
||||
%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
|
||||
- rebuilt with perl 5.24
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user