diff --git a/Object-Import-1.004.tar.gz b/Object-Import-1.004.tar.gz deleted file mode 100644 index f386c4f..0000000 --- a/Object-Import-1.004.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5601d802521a092d536456dd77eda6afce261a3930f5ccb841dd362ffc64f35b -size 33251 diff --git a/Object-Import-1.005.tar.gz b/Object-Import-1.005.tar.gz new file mode 100644 index 0000000..464ad92 --- /dev/null +++ b/Object-Import-1.005.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cde4eb4e1fd689dfdfb2597b49bce23df6df738b7a8673d0354c63de48a6c08f +size 33377 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..b7b244d --- /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: netcfg +#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: Artistic-1.0 OR GPL-3.0-only +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Object-Import.changes b/perl-Object-Import.changes index f19177e..5a0709d 100644 --- a/perl-Object-Import.changes +++ b/perl-Object-Import.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Oct 18 11:36:11 UTC 2020 - Dirk Stoecker + +- add missing requirement netcfg to fix build + +- updated to 1.005 + see /usr/share/doc/packages/perl-Object-Import/CHANGES + + 2018-10.29 v1.005 release to CPAN + - fix syntax error with newer Perl versions + - New Maintainer Max Maischein + ------------------------------------------------------------------- Fri Feb 13 20:03:47 UTC 2015 - coolo@suse.com diff --git a/perl-Object-Import.spec b/perl-Object-Import.spec index 32b8b2a..64a0a09 100644 --- a/perl-Object-Import.spec +++ b/perl-Object-Import.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Object-Import # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,21 @@ # 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-Object-Import -Version: 1.004 +Version: 1.005 Release: 0 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) %define cpan_name Object-Import -Summary: import methods of an object as functions to a package -License: GPL-3.0 or Artistic-1.0 +Summary: Import methods of an object as functions to a package +License: Artistic-1.0 OR GPL-3.0-only Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Object-Import/ -Source: http://www.cpan.org/authors/id/A/AM/AMBRUS/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -32,7 +34,9 @@ BuildRequires: perl-macros BuildRequires: perl(MRO::Compat) Requires: perl(MRO::Compat) %{perl_requires} -# MANUAL License +# MANUAL BEGIN +BuildRequires: netcfg +# MANUAL END %description This module lets you call methods of a certain object more easily by @@ -88,11 +92,11 @@ existing subs or break something else. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -101,6 +105,7 @@ existing subs or break something else. %files -f %{name}.files %defattr(-,root,root,755) -%doc ARTISTIC CHANGES GPL README TODO +%doc CHANGES GPL README TODO +%license ARTISTIC %changelog