From 73fa3534ad6d51673db247139bdf947e44e3627a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:46:47 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.04-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-Test-YAML-Valid.spec | 67 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 perl-Test-YAML-Valid.spec diff --git a/README.md b/README.md index 59e48b6..aaecc57 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Test-YAML-Valid +Lets you test the validity of YAML files inside your (Test::Builder-based) unit tests. + diff --git a/perl-Test-YAML-Valid.spec b/perl-Test-YAML-Valid.spec new file mode 100644 index 0000000..51130bd --- /dev/null +++ b/perl-Test-YAML-Valid.spec @@ -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 +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 0.04-2mamba +- perl 5.16 mass rebuild + +* Wed Mar 16 2011 Automatic Build System 0.04-1mamba +- automatic update by autodist + +* Thu Nov 06 2008 Silvan Calarco 0.03-2mamba +- automatic rebuild by autodist + +* Mon Nov 12 2007 Aleph0 0.03-1mamba +- package created by autospec