commit 2057defa64a1a1ef83be8e3cc5c4e710b9ae7516 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:39 2019 -0400 Package init diff --git a/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch b/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch new file mode 100644 index 0000000..bd3c484 --- /dev/null +++ b/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch @@ -0,0 +1,28 @@ +From a027043170603c360605dd2129dbf37b9fd820d8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 10 Dec 2014 13:12:47 +0100 +Subject: [PATCH] Do not sleep in Makefile.PL +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + Makefile.PL | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index fe093bd..b9cd6ea 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -105,7 +105,6 @@ sub _scripts { + ############################################################### + + WARNING +- sleep 10; + } + } + return @scripts; +-- +1.9.3 + diff --git a/Archive-Tar-2.30.tar.gz b/Archive-Tar-2.30.tar.gz new file mode 100644 index 0000000..8ea8f8d Binary files /dev/null and b/Archive-Tar-2.30.tar.gz differ diff --git a/perl-Archive-Tar.spec b/perl-Archive-Tar.spec new file mode 100644 index 0000000..cd83d6e --- /dev/null +++ b/perl-Archive-Tar.spec @@ -0,0 +1,72 @@ +%global perl_package_name Archive-Tar +Name: perl-Archive-Tar +Version: 2.30 +Release: 420 +Summary: A module for manipulations of tar archives +License: GPL+ or Artistic +URL: https://metacpan.org/pod/release/BINGOS/Archive-Tar-2.30/lib/Archive/Tar.pm +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{perl_package_name}-%{version}.tar.gz +Patch0: Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch +BuildArch: noarch + +BuildRequires: gcc git make +BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.76 perl(Config) +BuildRequires: perl(Getopt::Std) perl(strict) +BuildRequires: perl(Carp) perl(constant) perl(Cwd) perl(Data::Dumper) perl(Exporter) perl(File::Basename) +BuildRequires: perl(File::Find) perl(File::Path) perl(File::Spec) >= 0.82 perl(File::Spec::Unix) +BuildRequires: perl(Getopt::Long) perl(IO::File) perl(IO::Handle) perl(IO::Zlib) >= 1.01 +BuildRequires: perl(Pod::Usage) perl(vars) perl(warnings) perl(IO::Compress::Bzip2) >= 2.015 +BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.015 perl(Text::Diff) +BuildRequires: perl(File::Copy) perl(File::Temp) perl(FindBin) perl(lib) perl(Test::Harness) >= 2.26 perl(Test::More) + +Requires: perl(IO::Compress::Bzip2) >= 2.015 +Requires: perl(:MODULE_COMPAT_%(perl -V:version | tr -d "[a-z=';]")) +Requires: perl(IO::Zlib) >= 1.01 +Requires: perl(IO::Uncompress::Bunzip2) >= 2.015 +Requires: perl(Text::Diff) + +%description +archive::Tar provides an object oriented mechanism for handling tar +files. It provides class methods for quick and easy files handling +while also allowing for the creation of tar file objects for custom +manipulation. If you have the IO::Zlib module installed, Archive::Tar +will also support compressed or gzipped tar files. + +%package help +Summary: help document +Requires: perl-%{perl_package_name} = %{version}-%{release} +BuildArch: noarch +%description help +This package provides help document for perl-Archive-Tar. + +%prep +%autosetup -n %{perl_package_name}-%{version} -S git + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 UNINST=0 +%make_build + +%install +make install DESTDIR=%{buildroot} +%{_fixperms} -c %{buildroot}/* + +%check +make test + +%files +%{perl_vendorlib}/Archive/ +%{_bindir}/* + +%files help +%doc README CHANGES +%{_mandir}/man{1/*,3/*} + +%changelog +* Fri Sep 27 2019 shenyangyang - 2.30-420 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:enable test + +* Wed Aug 28 2019 openEuler Buildteam - 2.30-419 +- Package Init