forked from pool/perl-Test-MockTime
Accepting request 579297 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/579297 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockTime?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
7ea10d0eb5
commit
901b2872f0
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-MockTime
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: perl-Test-MockTime
|
||||
Version: 0.15
|
||||
Version: 0.16
|
||||
Release: 0
|
||||
%define cpan_name Test-MockTime
|
||||
Summary: Replaces actual time with simulated time
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-MockTime/
|
||||
Source0: http://www.cpan.org/authors/id/D/DD/DDICK/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDICK/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -43,7 +43,7 @@ calls to gmtime,time or localtime.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
Reference in New Issue
Block a user