automatic update by autodist [release 0.08-1mamba;Wed Nov 05 2014]
This commit is contained in:
parent
ffcf4920bd
commit
4b0fc07853
@ -1,7 +1,7 @@
|
|||||||
%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-Test-Requires
|
Name: perl-Test-Requires
|
||||||
Version: 0.07
|
Version: 0.08
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Test::Requires - Checks to see if the module can be loaded
|
Summary: Test::Requires - Checks to see if the module can be loaded
|
||||||
Group: System/Libraries/Perl
|
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}
|
%setup -q -n Test-Requires-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Makefile.PL installdirs=vendor
|
||||||
|
|
||||||
./Build
|
%make
|
||||||
./Build test
|
%make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
./Build install destdir=%{buildroot}
|
%makeinstall
|
||||||
|
|
||||||
packlist=`find %{buildroot} -name .packlist`
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
[ -z "$packlist" ] && exit 1 || cat $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
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
done
|
done
|
||||||
|
|
||||||
|
find %{buildroot} \
|
||||||
|
-type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -53,6 +56,9 @@ done
|
|||||||
# %doc README
|
# %doc README
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Dec 10 2013 Automatic Build System <autodist@mambasoft.it> 0.07-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user