Hello community,
here is the log from the commit of package perl-Module-Refresh for
openSUSE:Factory checked in at 2017-10-03 23:20:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Refresh (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Refresh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Refresh"
Tue Oct 3 23:20:12 2017 rev:11 rq:530799 version:0.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Refresh/perl-Module-Refresh.changes
2012-03-09 21:25:54.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Module-Refresh.new/perl-Module-Refresh.changes
2017-10-03 23:20:14.077512197 +0200
@@ -1,0 +2,10 @@
+Tue Oct 3 08:58:39 UTC 2017 - [email protected]
+
+- remove old_test_more.patch - no longer supporting sle11
+
+-------------------------------------------------------------------
+Tue Oct 3 08:16:18 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
Old:
----
old_test_more.patch
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Refresh.spec ++++++
--- /var/tmp/diff_new_pack.mkKBtM/_old 2017-10-03 23:20:14.753417077 +0200
+++ /var/tmp/diff_new_pack.mkKBtM/_new 2017-10-03 23:20:14.757416513 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Refresh
#
-# Copyright (c) 2012 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
@@ -20,46 +20,33 @@
Version: 0.17
Release: 0
%define cpan_name Module-Refresh
-Summary: Refresh INC files when updated on disk
-License: GPL-1.0+ or Artistic-1.0
+Summary: Refresh %INC files when updated on disk
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Refresh/
-Source:
http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
-%if 0%{?suse_version} < 1120
-Patch0: old_test_more.patch
-%endif
+Source0:
https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(Path::Class)
-#BuildRequires: perl(Foo)
-#BuildRequires: perl(inc::Module::Install)
-#BuildRequires: perl(JSON)
-#BuildRequires: perl(LWP::Simple)
-#BuildRequires: perl(Module::Build)
-#BuildRequires: perl(Module::Install::Base)
-#BuildRequires: perl(Module::Refresh)
-#BuildRequires: perl(Parse::CPAN::Meta)
-#BuildRequires: perl(YAML::Tiny)
%{perl_requires}
%description
-This module is a generalization of the functionality provided by the
-Apache::StatINC manpage and the Apache::Reload manpage. It's designed to
-make it easy to do simple iterative development when working in a
-persistent environment.
+This module is a generalization of the functionality provided by
+Apache::StatINC and Apache::Reload. It's designed to make it easy to do
+simple iterative development when working in a persistent environment.
It does not require mod_perl.
%prep
%setup -q -n %{cpan_name}-%{version}
-%if 0%{?suse_version} < 1120
-%patch0
-rm -f t/clear_symtable.t
-%endif
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+# 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
++++++ cpanspec.yml ++++++
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL