Accepting request 716721 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/716721 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Time-Format?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
470ad3f5f7
commit
bcc378d6ae
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Time-Format
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,24 +12,25 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Time-Format
|
||||
Version: 1.12
|
||||
Version: 1.13
|
||||
Release: 0
|
||||
%define cpan_name Time-Format
|
||||
Summary: Easy-to-use date/time formatting
|
||||
License: SUSE-Public-Domain
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Time-Format/
|
||||
Source0: http://www.cpan.org/authors/id/R/RO/ROODE/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RO/ROODE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build) >= 0.4
|
||||
BuildRequires: perl(Module::Build) >= 0.400000
|
||||
Recommends: perl(Date::Manip)
|
||||
Recommends: perl(DateTime)
|
||||
Recommends: perl(Module::Signature)
|
||||
@@ -77,16 +78,15 @@ For capabilities that '%time' does not provide, '%strftime' provides an
|
||||
interface to POSIX's 'strftime', and '%manip' provides an interface to the
|
||||
Date::Manip module's 'UnixDate' function.
|
||||
|
||||
If the companion module the Time::Format_XS manpage is also installed,
|
||||
Time::Format will detect and use it. This will result in a significant
|
||||
speed increase for '%time' and 'time_format'.
|
||||
If the companion module Time::Format_XS is also installed, Time::Format
|
||||
will detect and use it. This will result in a significant speed increase
|
||||
for '%time' and 'time_format'.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -98,6 +98,6 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes quickref.ps quickref.txt README
|
||||
%doc Changes quickref.ps quickref.txt README Time-Format.ppd
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user