diff --git a/Test-ConsistentVersion-v0.3.0.tar.gz b/Test-ConsistentVersion-v0.3.0.tar.gz deleted file mode 100644 index edfedad..0000000 --- a/Test-ConsistentVersion-v0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fd2d9e8f681359214d6b62b06e088f006c65998fefae94b4613d7398e54e817 -size 7645 diff --git a/Test-ConsistentVersion-v0.3.1.tar.gz b/Test-ConsistentVersion-v0.3.1.tar.gz new file mode 100644 index 0000000..e4d9aca --- /dev/null +++ b/Test-ConsistentVersion-v0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a65abee4ac72ffd417d8622a2decb92d088301d2548fdb721be1d185c8f41bdf +size 7780 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#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: +# baz.patch: PATCH-FIX-OPENSUSE +#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 +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Test-ConsistentVersion.changes b/perl-Test-ConsistentVersion.changes index 6c9c07b..cca57cb 100644 --- a/perl-Test-ConsistentVersion.changes +++ b/perl-Test-ConsistentVersion.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Nov 1 03:10:10 UTC 2021 - Tina Müller + +- updated to 0.3.1 + see /usr/share/doc/packages/perl-Test-ConsistentVersion/Changes + + 0.3.1 Sun Oct 31 2021 + Explicitly require minimum perl version of 5.6 + (we need the 3 argument version of open + to be available) + ------------------------------------------------------------------- Mon Apr 13 18:26:17 UTC 2015 - coolo@suse.com diff --git a/perl-Test-ConsistentVersion.spec b/perl-Test-ConsistentVersion.spec index 94b491f..89707ed 100644 --- a/perl-Test-ConsistentVersion.spec +++ b/perl-Test-ConsistentVersion.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-ConsistentVersion # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,23 @@ # 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-Test-ConsistentVersion -Version: 0.3.0 -Release: 0 %define cpan_name Test-ConsistentVersion -Summary: Ensures a CPAN distribution has consistent versioning. -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-ConsistentVersion/ -Source: http://www.cpan.org/authors/id/C/CE/CEBJYRE/%{cpan_name}-v%{version}.tar.gz +Name: perl-Test-ConsistentVersion +Version: 0.3.1 +Release: 0 +Summary: Ensures a CPAN distribution has consistent versioning +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CE/CEBJYRE/%{cpan_name}-v%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.42 +BuildRequires: perl(Module::Build) >= 0.420000 BuildRequires: perl(Test::Builder) >= 0.94 BuildRequires: perl(autodie) BuildRequires: perl(version) @@ -45,10 +44,10 @@ authors to have consistent version numbers within the modules (as well as readme file and changelog) of the distribution. %prep -%setup -q -n %{cpan_name}-v%{version} +%autosetup -n %{cpan_name}-v%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check @@ -59,7 +58,6 @@ readme file and changelog) of the distribution. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog