Hello community,
here is the log from the commit of package perl-Class-Adapter for
openSUSE:Factory checked in at 2017-10-03 23:19:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-Adapter (Old)
and /work/SRC/openSUSE:Factory/.perl-Class-Adapter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-Adapter"
Tue Oct 3 23:19:15 2017 rev:10 rq:530770 version:1.08
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-Adapter/perl-Class-Adapter.changes
2011-10-27 13:57:39.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Class-Adapter.new/perl-Class-Adapter.changes
2017-10-03 23:19:16.913557000 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 08:11:30 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Class-Adapter.spec ++++++
--- /var/tmp/diff_new_pack.0Joora/_old 2017-10-03 23:19:17.889419665 +0200
+++ /var/tmp/diff_new_pack.0Joora/_new 2017-10-03 23:19:17.893419102 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Class-Adapter
#
-# 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,53 +16,20 @@
#
-
Name: perl-Class-Adapter
Version: 1.08
-Release: 1
-License: GPL-1.0+ or Artistic-1.0
+Release: 0
%define cpan_name Class-Adapter
Summary: Perl implementation of the "Adapter" Design Pattern
-Url: http://search.cpan.org/dist/Class-Adapter/
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Source:
http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
+Url: http://search.cpan.org/dist/Class-Adapter/
+Source0:
https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires: perl(Scalar::Util) >= 1.10
-BuildRequires: perl(Test::More) >= 0.47
-#BuildRequires: perl(Carp)
-#BuildRequires: perl(Class::Adapter)
-#BuildRequires: perl(Class::Adapter::Builder)
-#BuildRequires: perl(Class::Adapter::Clear)
-#BuildRequires: perl(Config)
-#BuildRequires: perl(constant)
-#BuildRequires: perl(Cwd)
-#BuildRequires: perl(ExtUtils::Manifest)
-#BuildRequires: perl(ExtUtils::MM_Cygwin)
-#BuildRequires: perl(ExtUtils::MM_Unix)
-#BuildRequires: perl(ExtUtils::MM_Win32)
-#BuildRequires: perl(Fcntl)
-#BuildRequires: perl(File::Basename)
-#BuildRequires: perl(File::Find)
-#BuildRequires: perl(FileHandle)
-#BuildRequires: perl(File::Path)
-#BuildRequires: perl(File::Spec)
-#BuildRequires: perl(FindBin)
-#BuildRequires: perl(inc::Module::Install)
-#BuildRequires: perl(inc::Module::Install::DSL) >= 1.00
-#BuildRequires: perl(JSON)
-#BuildRequires: perl(LWP::Simple)
-#BuildRequires: perl(Module::Build)
-#BuildRequires: perl(Module::Install::Base)
-#BuildRequires: perl(Net::FTP)
-#BuildRequires: perl(Parse::CPAN::Meta)
-#BuildRequires: perl(Socket)
-#BuildRequires: perl(vars)
-#BuildRequires: perl(YAML::Tiny)
-Requires: perl(Scalar::Util) >= 1.10
%{perl_requires}
%description
@@ -71,6 +38,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
@@ -86,6 +56,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ cpanspec.yml ++++++
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL