forked from pool/perl-File-Remove
Accepting request 647189 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/647189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remove?expand=0&rev=42
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-Remove
|
||||
#
|
||||
# Copyright (c) 2016 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
|
||||
@@ -12,33 +12,30 @@
|
||||
# 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-File-Remove
|
||||
Version: 1.57
|
||||
Version: 1.58
|
||||
Release: 0
|
||||
%define cpan_name File-Remove
|
||||
Summary: Remove files and directories
|
||||
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/File-Remove/
|
||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Cwd) >= 3.29
|
||||
%if 0%{?suse_version} <= 1110
|
||||
BuildRequires: perl(File::Spec) >= 3.2900
|
||||
Requires: perl(File::Spec) >= 3.2900
|
||||
%else
|
||||
BuildRequires: perl(File::Spec) >= 3.29
|
||||
Requires: perl(File::Spec) >= 3.29
|
||||
%endif
|
||||
BuildRequires: perl(Module::Build) >= 0.280000
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(Cwd) >= 3.29
|
||||
Requires: perl(File::Spec) >= 3.29
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -55,19 +52,19 @@ addition of an optional, infrequently used "other platforms" hashref.
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user