From 6d2501a4feaebe2cb7d207c3b10b01c8c8a00e76 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 07:43:29 +0000 Subject: import rh-perl520-perl-Archive-Tar-2.04-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2562d8e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Archive-Tar-2.04.tar.gz diff --git a/.rh-perl520-perl-Archive-Tar.metadata b/.rh-perl520-perl-Archive-Tar.metadata new file mode 100644 index 0000000..09f4b9d --- /dev/null +++ b/.rh-perl520-perl-Archive-Tar.metadata @@ -0,0 +1 @@ +f3a910a3c377fa93ad15568025230355c8f04e4d SOURCES/Archive-Tar-2.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch b/SOURCES/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch new file mode 100644 index 0000000..bd3c484 --- /dev/null +++ b/SOURCES/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/SPECS/perl-Archive-Tar.spec b/SPECS/perl-Archive-Tar.spec new file mode 100644 index 0000000..f94d610 --- /dev/null +++ b/SPECS/perl-Archive-Tar.spec @@ -0,0 +1,277 @@ +%{?scl:%scl_package perl-Archive-Tar} + +Name: %{?scl_prefix}perl-Archive-Tar +Version: 2.04 +Release: 3%{?dist} +Summary: A module for Perl manipulation of .tar files +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Archive-Tar/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz +# Remove annoying sleep after warnings in the build script +Patch0: Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch +BuildArch: noarch +# Most of the BRS are needed only for tests, compression support at run-time +# is optional soft dependency. +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(Config) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +# File::Copy not used +BuildRequires: %{?scl_prefix}perl(Getopt::Std) +BuildRequires: %{?scl_prefix}perl(strict) +# Run-time: +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(constant) +BuildRequires: %{?scl_prefix}perl(Cwd) +BuildRequires: %{?scl_prefix}perl(Data::Dumper) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(File::Basename) +BuildRequires: %{?scl_prefix}perl(File::Find) +BuildRequires: %{?scl_prefix}perl(File::Path) +BuildRequires: %{?scl_prefix}perl(File::Spec) >= 0.82 +BuildRequires: %{?scl_prefix}perl(File::Spec::Unix) +BuildRequires: %{?scl_prefix}perl(Getopt::Long) +BuildRequires: %{?scl_prefix}perl(IO::File) +BuildRequires: %{?scl_prefix}perl(IO::Handle) +BuildRequires: %{?scl_prefix}perl(IO::Zlib) >= 1.01 +BuildRequires: %{?scl_prefix}perl(Pod::Usage) +# Time::Local not used on Linux +BuildRequires: %{?scl_prefix}perl(vars) +BuildRequires: %{?scl_prefix}perl(warnings) +# Optional run-time: +BuildRequires: %{?scl_prefix}perl(IO::Compress::Bzip2) >= 2.015 +# IO::String not used if perl supports useperlio which is true +# Use Compress::Zlib's version for IO::Uncompress::Bunzip2 +BuildRequires: %{?scl_prefix}perl(IO::Uncompress::Bunzip2) >= 2.015 +%if !%{defined perl_bootstrap} +BuildRequires: %{?scl_prefix}perl(Text::Diff) +%endif +# Tests: +BuildRequires: %{?scl_prefix}perl(File::Copy) +BuildRequires: %{?scl_prefix}perl(FindBin) +BuildRequires: %{?scl_prefix}perl(lib) +BuildRequires: %{?scl_prefix}perl(Test::Harness) >= 2.26 +BuildRequires: %{?scl_prefix}perl(Test::More) +# Optional tests: +%if !%{defined perl_bootstrap} && !%{defined perl_small} +BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 0.95 +%endif +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(IO::Zlib) >= 1.01 +# Optional run-time: +Requires: %{?scl_prefix}perl(IO::Compress::Bzip2) >= 2.015 +# IO::String not used if perl supports useperlio which is true +# Use Compress::Zlib's version for IO::Uncompress::Bunzip2 +Requires: %{?scl_prefix}perl(IO::Uncompress::Bunzip2) >= 2.015 +%if !%{defined perl_bootstrap} +Requires: %{?scl_prefix}perl(Text::Diff) +%endif + +# Remove under-specified dependencies +# RPM 4.8 style +%{?filter_setup: +%filter_from_requires /^%{?scl_prefix}perl(IO::Zlib)$/d +%?perl_default_filter +} +# RPM 4.9 style +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(IO::Zlib\\)$ + +%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. + +%prep +%setup -q -n Archive-Tar-%{version} +%patch0 -p1 + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +chmod -R u+w %{buildroot}/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc CHANGES README +%{_bindir}/* +%{perl_vendorlib}/Archive/ +%{_mandir}/man3/*.3* +%{_mandir}/man1/*.1* + + +%changelog +* Sun Jan 25 2015 Jitka Plesnikova - 2.04-3 +- Rebuild of bootstrapped package + +* Thu Jan 22 2015 Petr Pisar - 2.04-2 +- Disable optional tests for small build root + +* Tue Dec 16 2014 Jitka Plesnikova - 2.04-1 +- 2.04 bump + +* Wed Dec 10 2014 Petr Pisar - 2.02-2 +- Remove unneeded dependencies +- Remove annoying sleep after warnings in the build script + +* Thu Sep 18 2014 Jitka Plesnikova - 2.02-1 +- 2.02 bump + +* Sun Sep 07 2014 Jitka Plesnikova - 2.00-3 +- Perl 5.20 re-rebuild of bootstrapped packages + +* Wed Aug 27 2014 Jitka Plesnikova - 2.00-2 +- Perl 5.20 rebuild + +* Mon Jun 23 2014 Jitka Plesnikova - 2.00-1 +- 2.00 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 1.96-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Oct 25 2013 Jitka Plesnikova - 1.96-1 +- 1.96 bump + +* Wed Aug 14 2013 Jitka Plesnikova - 1.92-4 +- Perl 5.18 re-rebuild of bootstrapped packages + +* Sat Aug 03 2013 Fedora Release Engineering - 1.92-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 Petr Pisar - 1.92-2 +- Perl 5.18 rebuild + +* Thu Jun 20 2013 Jitka Plesnikova - 1.92-1 +- 1.92 bump +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Update dependencies + +* Thu Feb 14 2013 Fedora Release Engineering - 1.90-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 18 2012 Jitka Plesnikova - 1.90-2 +- Add BRs perl(lib), perl(IO::File) + +* Thu Sep 13 2012 Jitka Plesnikova - 1.90-1 +- 1.90 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 1.88-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1.88-4 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Wed Jun 06 2012 Petr Pisar - 1.88-3 +- Perl 5.16 rebuild + +* Mon Jun 04 2012 Petr Šabata - 1.88-2 +- 1.88 bump +- Drop command macros + +* Fri Jun 01 2012 Petr Pisar - 1.84-2 +- Omit optional Test::Pod tests on bootstrap + +* Wed Mar 14 2012 Marcela Mašláňová - 1.84-1 +- 1.84 bump #802981 + +* Fri Jan 13 2012 Fedora Release Engineering - 1.82-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 22 2011 Petr Šabata - 1.82-1 +- 1.82 bump + +* Fri Oct 14 2011 Petr Sabata - 1.80-1 +- 1.80 bump + +* Fri Sep 09 2011 Petr Pisar - 1.78-1 +- 1.78 bump +- Remove BuildRoot and defattr code from spec + +* Mon Jun 20 2011 Marcela Mašláňová - 1.76-3 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.76-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 10 2011 Petr Pisar - 1.76-1 +- 1.76 bump + +* Mon Jan 03 2011 Petr Sabata - 1.74-1 +- 1.74 bump + +* Fri Nov 19 2010 Petr Pisar - 1.72-1 +- 1.72 bump + +* Tue Sep 14 2010 Petr Pisar - 1.68-1 +- 1.68 bump + +* Tue Jul 13 2010 Petr Pisar - 1.64-1 +- 1.64 bump + +* Tue Jul 13 2010 Petr Pisar - 1.62-1 +- 1.62 bump (bug #607687) + +* Thu Aug 23 2007 Robin Norwood - 1.34-1 +- Upgrade to latest upstream version: 1.34 +- Fix license tag +- Fix BuildRequires for ExtUtils::MakeMaker and Test::Pod + +* Mon Jun 04 2007 Robin Norwood - 1.32-1 +- Upgrade to latest upstream version: 1.32 + +* Mon Mar 05 2007 Robin Norwood - 1.30-4 +- Fix changelog + +* Mon Feb 19 2007 Robin Norwood - 1.30-3 +- Incorporate specfile improvements from Jose Oliveira. + +* Fri Feb 16 2007 Robin Norwood - 1.30-2 +- Resolves: rhbz#226239 - Remove tabs from spec file for package review + +* Tue Sep 19 2006 Robin Norwood - 1.30-1 +- Bump to 1.30 + +* Wed Jul 12 2006 Jesse Keating - 1.29-1.1 +- rebuild + +* Wed Mar 08 2006 Jason Vas Dias - 1.29-1 +- Upgrade to upstream version 1.29 + +* Fri Feb 03 2006 Jason Vas Dias - 1.28-1 +- Upgrade to upstream version 1.28 +- Rebuild for perl-5.8.8 + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Sun Nov 06 2005 Florian La Roche +- 1.26 + +* Mon Apr 25 2005 Warren Togami - 1.23-4 +- remove beehive workaround + +* Sun Apr 03 2005 Jose Pedro Oliveira - 1.23-1 +- Update to 1.23. +- Bring up to date with current Fedora.Extras perl spec template. + +* Wed Sep 22 2004 Chip Turner 1.08-3 +- rebuild + +* Fri Feb 13 2004 Chip Turner 1.08-1 +- update to upstream 1.08 + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + +* Fri Feb 08 2002 cturner@redhat.com +- Specfile autogenerated +