From 0cc6f8a47ac0e6ea32b97873c61dac9afc8a96bafe5cbbcee04bafdbcb49673c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Apr 2015 19:50:41 +0000 Subject: [PATCH] Accepting request 297304 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/297304 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Directory-Scratch?expand=0&rev=2 --- Directory-Scratch-0.14.tar.gz | 3 -- Directory-Scratch-0.18.tar.gz | 3 ++ cpanspec.yml | 20 +++++++++++++ perl-Directory-Scratch.changes | 6 ++++ perl-Directory-Scratch.spec | 54 +++++++++++++--------------------- 5 files changed, 49 insertions(+), 37 deletions(-) delete mode 100644 Directory-Scratch-0.14.tar.gz create mode 100644 Directory-Scratch-0.18.tar.gz create mode 100644 cpanspec.yml diff --git a/Directory-Scratch-0.14.tar.gz b/Directory-Scratch-0.14.tar.gz deleted file mode 100644 index b455e23..0000000 --- a/Directory-Scratch-0.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4724778fe103eda40ddbf04eaf9739de6fbb3a4f748ff04905122594c935fc0f -size 28444 diff --git a/Directory-Scratch-0.18.tar.gz b/Directory-Scratch-0.18.tar.gz new file mode 100644 index 0000000..af1d1e8 --- /dev/null +++ b/Directory-Scratch-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b87b6b1bccc60d1b3ce147cd218fe2c600d7119ea4e00da7b099cd4afe32ac01 +size 38568 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#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_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Directory-Scratch.changes b/perl-Directory-Scratch.changes index 40b2477..fb094e0 100644 --- a/perl-Directory-Scratch.changes +++ b/perl-Directory-Scratch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 16 19:24:54 UTC 2015 - coolo@suse.com + +- updated to 0.18 + see /usr/share/doc/packages/perl-Directory-Scratch/Changes + ------------------------------------------------------------------- Thu Apr 21 10:36:55 UTC 2011 - coolo@opensuse.org diff --git a/perl-Directory-Scratch.spec b/perl-Directory-Scratch.spec index 5738d19..58da3de 100644 --- a/perl-Directory-Scratch.spec +++ b/perl-Directory-Scratch.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Directory-Scratch (Version 0.14) +# spec file for package perl-Directory-Scratch # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,62 +15,48 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Directory-Scratch -Version: 0.14 -Release: 1 -License: GPL+ or Artistic +Version: 0.18 +Release: 0 %define cpan_name Directory-Scratch -Summary: Easy-to-use self-cleaning scratch space. -Url: http://search.cpan.org/dist/Directory-Scratch/ +Summary: (DEPRECATED) Easy-to-use self-cleaning scratch space +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/J/JR/JROCKWAY/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Directory-Scratch/ +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Carp) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Copy) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Slurp) >= 9999.12 -BuildRequires: perl(File::Spec) -BuildRequires: perl(File::stat) -BuildRequires: perl(File::Temp) +BuildRequires: perl(Module::Build::Tiny) >= 0.039 BuildRequires: perl(Path::Class) -BuildRequires: perl(Test::More) -Requires: perl(Carp) -Requires: perl(File::Copy) -Requires: perl(File::Path) -Requires: perl(File::Slurp) >= 9999.12 -Requires: perl(File::Spec) -Requires: perl(File::stat) -Requires: perl(File::Temp) +BuildRequires: perl(Path::Tiny) >= 0.060 Requires: perl(Path::Class) +Requires: perl(Path::Tiny) >= 0.060 +Recommends: perl(String::Random) %{perl_requires} %description -Easy-to-use self-cleaning scratch space. +(DEPRECATED) Easy-to-use self-cleaning scratch space %prep %setup -q -n %{cpan_name}-%{version} %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 -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples README +%doc Changes CONTRIBUTING examples LICENSE README %changelog