diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..caab2c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Time-Local-1.25.tar.gz diff --git a/.rh-perl526-perl-Time-Local.metadata b/.rh-perl526-perl-Time-Local.metadata new file mode 100644 index 0000000..b4f4898 --- /dev/null +++ b/.rh-perl526-perl-Time-Local.metadata @@ -0,0 +1 @@ +02f7817190b1613571cc7d8996e57f851e1fde58 SOURCES/Time-Local-1.25.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/SPECS/perl-Time-Local.spec b/SPECS/perl-Time-Local.spec new file mode 100644 index 0000000..905c4f7 --- /dev/null +++ b/SPECS/perl-Time-Local.spec @@ -0,0 +1,114 @@ +%{?scl:%scl_package perl-Time-Local} + +%global cpan_version 1.25 +Name: %{?scl_prefix}perl-Time-Local +Epoch: 1 +Version: %{cpan_version}0 +Release: 395%{?dist} +Summary: Efficiently compute time from local and GMT time +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-Local/ +Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{cpan_version}.tar.gz +BuildArch: noarch +BuildRequires: findutils +BuildRequires: make +BuildRequires: %{?scl_prefix}perl-interpreter +BuildRequires: %{?scl_prefix}perl-generators +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(warnings) +# Run-time: +BuildRequires: %{?scl_prefix}perl(Carp) +# Config used only with perl < 5.12 +BuildRequires: %{?scl_prefix}perl(constant) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(parent) +# Tests: +# POSIX not used +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.96 +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) + +%description +This module provides functions that are the inverse of built-in perl functions +localtime() and gmtime(). They accept a date as a six-element array, and +return the corresponding time(2) value in seconds since the system epoch +(Midnight, January 1, 1970 GMT on Unix, for example). This value can be +positive or negative, though POSIX only requires support for positive values, +so dates before the system's epoch may not work on all operating systems. + +%prep +%setup -q -n Time-Local-%{cpan_version} + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc LICENSE +%doc Changes CONTRIBUTING.md README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 15 2017 Petr Pisar - 1:1.250-395 +- SCL + +* Thu Jul 27 2017 Fedora Release Engineering - 1:1.250-394 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 03 2017 Jitka Plesnikova - 1:1.250-393 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1:1.250-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Nov 21 2016 Petr Pisar - 1:1.250-1 +- 1.25 bump + +* Fri Oct 14 2016 Petr Pisar - 1:1.240-1 +- 1.24 bump + +* Sat May 14 2016 Jitka Plesnikova - 1.2300-365 +- Increase release to favour standalone package + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2300-347 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.2300-346 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 04 2015 Jitka Plesnikova - 1.2300-345 +- Increase release to favour standalone package + +* Wed Jun 03 2015 Jitka Plesnikova - 1.2300-311 +- Perl 5.22 rebuild + +* Wed Sep 03 2014 Jitka Plesnikova - 1.2300-310 +- Increase release to favour standalone package + +* Tue Aug 26 2014 Jitka Plesnikova - 1.2300-293 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2300-292 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.2300-291 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 15 2013 Petr Pisar - 1.2300-290 +- Increase release to favour standalone package + +* Fri Jul 12 2013 Petr Pisar - 1.2300-2 +- Link minimal build-root packages against libperl.so explicitly + +* Fri Mar 15 2013 Petr Pisar 1.2300-1 +- Specfile autogenerated by cpanspec 1.78.