Hello community,
here is the log from the commit of package perl-Declare-Constraints-Simple for
openSUSE:Factory checked in at 2017-10-03 23:19:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Declare-Constraints-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-Declare-Constraints-Simple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Declare-Constraints-Simple"
Tue Oct 3 23:19:09 2017 rev:10 rq:530759 version:0.03
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Declare-Constraints-Simple/perl-Declare-Constraints-Simple.changes
2011-11-21 12:39:04.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Declare-Constraints-Simple.new/perl-Declare-Constraints-Simple.changes
2017-10-03 23:19:10.274491333 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 08:14:29 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Declare-Constraints-Simple.spec ++++++
--- /var/tmp/diff_new_pack.xpTbu3/_old 2017-10-03 23:19:10.922400152 +0200
+++ /var/tmp/diff_new_pack.xpTbu3/_new 2017-10-03 23:19:10.926399589 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Declare-Constraints-Simple
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,35 +16,26 @@
#
-%bcond_with pod
-
Name: perl-Declare-Constraints-Simple
+Version: 0.03
+Release: 0
%define cpan_name Declare-Constraints-Simple
Summary: Declarative Validation of Data Structures
-Version: 0.03
-Release: 3
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Declare-Constraints-Simple/
-#Source:
http://www.cpan.org/authors/id/P/PH/PHAYLON/Declare-Constraints-Simple-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/P/PH/PHAYLON/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::More)
-BuildRequires: perl(aliased)
BuildRequires: perl(Carp::Clan)
BuildRequires: perl(Class::Inspector)
-BuildRequires: perl(Scalar::Util)
-%if 0%{?with pod}
-BuildRequires: perl(Test::Pod) >= 1.00
-BuildRequires: perl(Test::Pod::Coverage) >= 1.00
-%endif
-Requires: perl(aliased)
+BuildRequires: perl(aliased)
Requires: perl(Carp::Clan)
Requires: perl(Class::Inspector)
-Requires: perl(Scalar::Util)
+Requires: perl(aliased)
%{perl_requires}
%description
@@ -54,6 +45,9 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+# MANUAL BEGIN
+sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL
+# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -67,11 +61,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
%doc Changes README
%changelog
++++++ cpanspec.yml ++++++
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL