From 557efe3f777fa17c9db618a4e70ad54a94151b36 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:34:29 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.05002-2mamba;Mon Jul 15 2013] --- README.md | 2 ++ perl-Array-Diff.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 perl-Array-Diff.spec diff --git a/README.md b/README.md index 1245564..384a7cb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Array-Diff +Array::Diff - Diff two arrays. + diff --git a/perl-Array-Diff.spec b/perl-Array-Diff.spec new file mode 100644 index 0000000..5d13d37 --- /dev/null +++ b/perl-Array-Diff.spec @@ -0,0 +1,73 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Array-Diff +Version: 0.05002 +Release: 2mamba +Summary: Array::Diff - Diff two arrays +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Array/Array-Diff-%{version}.tar.gz +License: GPL, Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Module-Build +BuildRequires: perl-Class-Accessor +BuildRequires: perl-Algorithm-Diff +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Array::Diff - Diff two arrays. + +%prep +%setup -q -n Array-Diff-%{version} + +%build +perl Makefile.PL installdirs=vendor +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +#./Build install \ +# destdir="%{buildroot}" \ +# --install_path bindoc="%{_mandir}/man1" \ +# --install_path libdoc="%{_mandir}/man3" + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +find %{buildroot}%{perl_vendorlib} \ + -type d -depth -exec rmdir {} 2>/dev/null \; + +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 Jul 15 2013 Automatic Build System 0.05002-2mamba +- automatic rebuild by autodist + +* Thu May 28 2009 Automatic Build System 0.05002-1mamba +- automatic update by autodist + +* Mon Mar 02 2009 Silvan Calarco 0.05-1mamba +- automatic update by autodist + +* Mon Nov 03 2008 Silvan Calarco 0.04-2mamba +- automatic rebuild by autodist + +* Fri Nov 09 2007 Aleph0 0.04-1mamba +- package created by autospec