diff --git a/.gitignore b/.gitignore index 0a6be65..628c789 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /File-Touch-0.09.tar.gz /File-Touch-0.10.tar.gz /File-Touch-0.11.tar.gz +/File-Touch-0.12.tar.gz diff --git a/perl-File-Touch.spec b/perl-File-Touch.spec index cd0ff9a..51241b2 100644 --- a/perl-File-Touch.spec +++ b/perl-File-Touch.spec @@ -1,24 +1,29 @@ Name: perl-File-Touch Summary: Update access, modification timestamps, creating nonexistent files -Version: 0.11 -Release: 18%{?dist} +Version: 0.12 +Release: 1%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/File-Touch BuildArch: noarch Source: https://cpan.metacpan.org/authors/id/N/NE/NEILB/File-Touch-%{version}.tar.gz -BuildRequires: make -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(Carp) -BuildRequires: perl(Exporter) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) BuildRequires: perl(Fcntl) BuildRequires: perl(File::stat) BuildRequires: perl(IO::File) +BuildRequires: perl(Time::HiRes) >= 1.9764 +# Tests BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Time::HiRes) >= 1.9764 %description The following Perl module allows you to update access and modification @@ -28,12 +33,11 @@ timestamps, creating nonexistent files where necessary. %setup -q -n File-Touch-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -45,6 +49,9 @@ make test %{_mandir}/man3/* %changelog +* Wed May 04 2022 Jitka Plesnikova - 0.12-1 +- 0.12 bump + * Fri Jan 21 2022 Fedora Release Engineering - 0.11-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 08adae4..c506566 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -caf4101a022f66c88f5fb4383b3f6388 File-Touch-0.11.tar.gz +SHA512 (File-Touch-0.12.tar.gz) = 0a13b4a2260fb134ba8ab2fc521aa9d92c9724773c06626e90bdb8b67c3ffab99679cb7f9ef6bfa5335c1d4fdf9bdbcfd8a8927f6fed5a0800dd3c9504904b40