Accepting request 842380 from devel:languages:perl:autoupdate
- 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 OBS-URL: https://build.opensuse.org/request/show/842380 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Object-Import?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5601d802521a092d536456dd77eda6afce261a3930f5ccb841dd362ffc64f35b
|
||||
size 33251
|
3
Object-Import-1.005.tar.gz
Normal file
3
Object-Import-1.005.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cde4eb4e1fd689dfdfb2597b49bce23df6df738b7a8673d0354c63de48a6c08f
|
||||
size 33377
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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: 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
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 18 11:36:11 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- 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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user