Hello community,
here is the log from the commit of package perl-MooseX-Singleton for
openSUSE:Factory checked in at 2016-11-28 15:08:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-Singleton (Old)
and /work/SRC/openSUSE:Factory/.perl-MooseX-Singleton.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-Singleton"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-MooseX-Singleton/perl-MooseX-Singleton.changes
2011-12-25 17:39:21.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-MooseX-Singleton.new/perl-MooseX-Singleton.changes
2016-11-28 15:08:10.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Nov 24 06:48:43 UTC 2016 - [email protected]
+
+- updated to 0.30
+ see /usr/share/doc/packages/perl-MooseX-Singleton/Changes
+
+ 0.30 2016-11-23 04:46:06Z
+ - move repository to github Moose organization
+ - properly declare test prereqs
+
+-------------------------------------------------------------------
Old:
----
MooseX-Singleton-0.29.tar.gz
New:
----
MooseX-Singleton-0.30.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MooseX-Singleton.spec ++++++
--- /var/tmp/diff_new_pack.cFACFU/_old 2016-11-28 15:08:11.000000000 +0100
+++ /var/tmp/diff_new_pack.cFACFU/_new 2016-11-28 15:08:11.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-MooseX-Singleton
#
-# Copyright (c) 2011 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,38 +15,39 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: perl-MooseX-Singleton
-Version: 0.29
+Version: 0.30
Release: 0
%define cpan_name MooseX-Singleton
-Summary: turn your Moose class into a singleton
+Summary: Turn your Moose class into a singleton
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MooseX-Singleton/
-Source:
http://www.cpan.org/authors/id/K/KA/KAARE/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(Module::Build::Tiny) >= 0.034
+BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Moose) >= 1.10
+BuildRequires: perl(Moose::Exporter)
+BuildRequires: perl(Moose::Role)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
-#BuildRequires: perl(Moose::Exporter)
-#BuildRequires: perl(Moose::Role)
-#BuildRequires: perl(MooseX::Singleton)
-#BuildRequires: perl(MooseX::Singleton::Role::Meta::Class)
-#BuildRequires: perl(MooseX::Singleton::Role::Meta::Instance)
-#BuildRequires: perl(MooseX::Singleton::Role::Meta::Method::Constructor)
-#BuildRequires: perl(MooseX::Singleton::Role::Object)
-#BuildRequires: perl(MooseX::StrictConstructor)
+BuildRequires: perl(Test::Warnings)
Requires: perl(Moose) >= 1.10
+Requires: perl(Moose::Exporter)
+Requires: perl(Moose::Role)
%{perl_requires}
%description
A singleton is a class that has only one instance in an application.
'MooseX::Singleton' lets you easily upgrade (or downgrade, as it were) your
-the Moose manpage class to a singleton.
+Moose class to a singleton.
All you should need to do to transform your class is to change 'use Moose'
to 'use MooseX::Singleton'. This module uses metaclass roles to do its
@@ -56,19 +57,18 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
%check
-%{__make} test
+./Build test
%install
-%perl_make_install
-%perl_process_packlist
+./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes CONTRIBUTING LICENSE README
%changelog
++++++ MooseX-Singleton-0.29.tar.gz -> MooseX-Singleton-0.30.tar.gz ++++++
++++ 4250 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#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