8
0

Accepting request 353361 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/353361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remove?expand=0&rev=32
This commit is contained in:
Stephan Kulow
2016-01-14 06:36:21 +00:00
committed by Git OBS Bridge
parent a962df1033
commit a76411d58f
5 changed files with 49 additions and 27 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4154dc574b8a9a3a555d323f152ac742363c6a69c1f61de15b72728813550bdd
size 38230

3
File-Remove-1.55.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c3ebbdcf879036cebe121d585f85a601d8088347ec342192e51fcecd7e5a91f
size 22052

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 13 09:56:12 UTC 2016 - coolo@suse.com
- updated to 1.55
see /usr/share/doc/packages/perl-File-Remove/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 25 13:19:38 UTC 2013 - chris@computersalat.de Fri Jan 25 13:19:38 UTC 2013 - chris@computersalat.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-File-Remove # spec file for package perl-File-Remove
# #
# Copyright (c) 2013 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,26 @@
Name: perl-File-Remove Name: perl-File-Remove
Version: 1.52 Version: 1.55
Release: 0 Release: 0
%define cpan_name File-Remove %define cpan_name File-Remove
Summary: Remove files and directories Summary: Remove files and directories
License: GPL-1.0+ or Artistic-1.0 License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-Remove/ Url: http://search.cpan.org/dist/File-Remove/
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Cwd) >= 3.29 BuildRequires: perl(Cwd) >= 3.29
BuildRequires: perl(File::Spec) >= 3.29 BuildRequires: perl(File::Spec) >= 3.29
BuildRequires: perl(Module::Build) >= 0.280000
Requires: perl(Cwd) >= 3.29 Requires: perl(Cwd) >= 3.29
Requires: perl(File::Spec) >= 3.29 Requires: perl(File::Spec) >= 3.29
%{perl_requires} %{perl_requires}
%if 0%{?suse_version} <= 1110
BuildRequires: perl-PathTools
Requires: perl-PathTools
%endif
%description %description
*File::Remove::remove* removes files and directories. It acts like *File::Remove::remove* removes files and directories. It acts like
*/bin/rm*, for the most part. Although 'unlink' can be given a list of */bin/rm*, for the most part. Although 'unlink' can be given a list of
@@ -51,30 +48,21 @@ addition of an optional, infrequently used "other platforms" hashref.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} <= 1110 find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
for i in `find lib t -type f` ; do
sed -i -e "s@^\s*use\s\s*File::Spec@use lib '%{perl_vendorlib}';\nuse File::Spec@" $i
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
done
%endif
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
%{__make} %{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
%{__make} test ./Build test
%install %install
%perl_make_install ./Build install destdir=%{buildroot} create_packlist=0
%perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755) %defattr(-,root,root,755)
%doc Changes LICENSE README %doc Changes LICENSE README
%changelog %changelog