diff --git a/Module-Extract-VERSION-1.01.tar.gz b/Module-Extract-VERSION-1.01.tar.gz deleted file mode 100644 index e764a3a..0000000 --- a/Module-Extract-VERSION-1.01.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a76cbd92a15216ca3fa475f1d2d9dd3688e5fdea31d390c89b48fe93a7c6eb18 -size 5430 diff --git a/Module-Extract-VERSION-1.111.tar.gz b/Module-Extract-VERSION-1.111.tar.gz new file mode 100644 index 0000000..a1bf91d --- /dev/null +++ b/Module-Extract-VERSION-1.111.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e589a10ce12b968e7f2cec0ac26a126764e22dd21dcee31af00b8fd2a323ec1 +size 11583 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Module-Extract-VERSION.changes b/perl-Module-Extract-VERSION.changes index 661988b..48de901 100644 --- a/perl-Module-Extract-VERSION.changes +++ b/perl-Module-Extract-VERSION.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 19 05:45:18 UTC 2016 - coolo@suse.com + +- updated to 1.111 + see /usr/share/doc/packages/perl-Module-Extract-VERSION/Changes + + Revision history for Perl module Module::Extract::Version + ------------------------------------------------------------------- Wed Apr 27 18:57:57 UTC 2011 - coolo@opensuse.org diff --git a/perl-Module-Extract-VERSION.spec b/perl-Module-Extract-VERSION.spec index 6d421a3..3589e94 100644 --- a/perl-Module-Extract-VERSION.spec +++ b/perl-Module-Extract-VERSION.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Module-Extract-VERSION (Version 1.01) +# spec file for package perl-Module-Extract-VERSION # -# Copyright (c) 2010 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 @@ -15,27 +15,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Module-Extract-VERSION -Version: 1.01 -Release: 1 -License: GPL+ or Artistic +Version: 1.111 +Release: 0 %define cpan_name Module-Extract-VERSION -Summary: Extract a module version without running code -Url: http://search.cpan.org/dist/Module-Extract-VERSION/ +Summary: Extract a module version safely +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Module-Extract-VERSION/ +Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -Requires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.95 +BuildRequires: perl(Tie::Hash::NamedCapture) +BuildRequires: perl(version) +Requires: perl(Tie::Hash::NamedCapture) +Requires: perl(version) %{perl_requires} %description This module lets you pull out of module source code the version number for -the module. It assumes that there is only one '$VERSION' in the file. +the module. It assumes that there is only one '$VERSION' in the file and +the entire '$VERSION' statement is on the same line. %prep %setup -q -n %{cpan_name}-%{version} @@ -52,11 +57,8 @@ the module. It assumes that there is only one '$VERSION' in the file. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples LICENSE README +%doc Changes examples LICENSE %changelog