Accepting request 852879 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/852879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Singleton?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2020-12-04 20:27:36 +00:00 committed by Git OBS Bridge
commit 4277ad087c
5 changed files with 54 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38220d04f02e3a803193c2575a1644cce0b95ad4b95c19eb932b94e2647ef678
size 7785

BIN
Class-Singleton-1.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

34
cpanspec.yml Normal file
View File

@ -0,0 +1,34 @@
---
#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
#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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 3 03:06:07 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.6
see /usr/share/doc/packages/perl-Class-Singleton/Changes
-------------------------------------------------------------------
Mon Apr 13 19:13:23 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Class-Singleton
#
# 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,20 @@
# 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-Class-Singleton
Version: 1.5
Version: 1.6
Release: 0
%define cpan_name Class-Singleton
Summary: Implementation of a "Singleton" class
License: GPL-1.0+ or Artistic-1.0
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Singleton/
Source: http://www.cpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -46,14 +47,13 @@ Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%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
@ -63,5 +63,6 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license Artistic Copying LICENCE
%changelog