perl 5.16 mass rebuild [release 0.04-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:46:47 +01:00
parent 4f26cb78d7
commit 73fa3534ad
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Test-YAML-Valid # perl-Test-YAML-Valid
Lets you test the validity of YAML files inside your (Test::Builder-based) unit tests.

67
perl-Test-YAML-Valid.spec Normal file
View File

@ -0,0 +1,67 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Test-YAML-Valid
Version: 0.04
Release: 2mamba
Summary: Test::YAML::Valid - Test the validity of YAML files inside (Test::Builder-based) unit tests
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://www.cpan.org/modules/by-module/Test/Test-YAML-Valid-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-Test-Builder-Tester
BuildRequires: perl-YAML
BuildRequires: perl-YAML-Syck
BuildRequires: perl-YAML-LibYAML
#BuildRequires: perl-Test-More
#BuildRequires: perl-Test-Builder
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Lets you test the validity of YAML files inside your (Test::Builder-based) unit tests.
%prep
%setup -q -n Test-YAML-Valid-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.04-2mamba
- perl 5.16 mass rebuild
* Wed Mar 16 2011 Automatic Build System <autodist@mambasoft.it> 0.04-1mamba
- automatic update by autodist
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.03-2mamba
- automatic rebuild by autodist
* Mon Nov 12 2007 Aleph0 <aleph0@openmamba.org> 0.03-1mamba
- package created by autospec