automatic update by autodist [release 0.08-1mamba;Wed Nov 05 2014]

This commit is contained in:
Automatic Build System 2024-01-06 09:44:59 +01:00
parent ffcf4920bd
commit 4b0fc07853

View File

@ -1,7 +1,7 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Test-Requires
Version: 0.07
Version: 0.08
Release: 1mamba
Summary: Test::Requires - Checks to see if the module can be loaded
Group: System/Libraries/Perl
@ -24,14 +24,14 @@ Test::Requires - Checks to see if the module can be loaded.
%setup -q -n Test-Requires-%{version}
%build
%{__perl} Build.PL installdirs=vendor
%{__perl} Makefile.PL installdirs=vendor
./Build
./Build test
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install destdir=%{buildroot}
%makeinstall
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -43,6 +43,9 @@ for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
find %{buildroot} \
-type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -53,6 +56,9 @@ done
# %doc README
%changelog
* Wed Nov 05 2014 Automatic Build System <autodist@mambasoft.it> 0.08-1mamba
- automatic update by autodist
* Tue Dec 10 2013 Automatic Build System <autodist@mambasoft.it> 0.07-1mamba
- automatic update by autodist