forked from pool/perl-File-Remove
Accepting request 383919 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/383919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remove?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
10e7a07800
commit
a16718468a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-Remove
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-File-Remove
|
||||
Version: 1.55
|
||||
Version: 1.56
|
||||
Release: 0
|
||||
%define cpan_name File-Remove
|
||||
Summary: Remove files and directories
|
||||
@@ -32,7 +32,6 @@ BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Cwd) >= 3.29
|
||||
BuildRequires: perl(File::Spec) >= 3.29
|
||||
BuildRequires: perl(Module::Build) >= 0.2800
|
||||
Requires: perl(Cwd) >= 3.29
|
||||
Requires: perl(File::Spec) >= 3.29
|
||||
%{perl_requires}
|
||||
@@ -51,14 +50,15 @@ addition of an optional, infrequently used "other platforms" hashref.
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
|
Reference in New Issue
Block a user