Hello community,

here is the log from the commit of package perl-Test-YAML-Valid for 
openSUSE:Factory checked in at 2017-10-03 23:20:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-YAML-Valid (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-YAML-Valid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-YAML-Valid"

Tue Oct  3 23:20:02 2017 rev:6 rq:530793 version:0.04

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Test-YAML-Valid/perl-Test-YAML-Valid.changes    
    2011-12-22 10:54:43.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-YAML-Valid.new/perl-Test-YAML-Valid.changes
   2017-10-03 23:20:03.227039203 +0200
@@ -1,0 +2,5 @@
+Tue Oct  3 08:22:28 UTC 2017 - co...@suse.com
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Test-YAML-Valid.spec ++++++
--- /var/tmp/diff_new_pack.BBSXU9/_old  2017-10-03 23:20:03.958936202 +0200
+++ /var/tmp/diff_new_pack.BBSXU9/_new  2017-10-03 23:20:03.962935639 +0200
@@ -1,8 +1,7 @@
-# vim: set sw=4 ts=4 et nu:
 #
 # spec file for package perl-Test-YAML-Valid
 #
-# 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
@@ -15,65 +14,49 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:           perl-Test-YAML-Valid
 Version:        0.04
 Release:        0
+%define cpan_name Test-YAML-Valid
 Summary:        Test for valid YAML
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-Source:         
http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Test-YAML-Valid-%{version}.tar.gz
-Url:            http://search.cpan.org/dist/Test-YAML-Valid
+Url:            http://search.cpan.org/dist/Test-YAML-Valid/
+Source0:        
https://cpan.metacpan.org/authors/id/J/JR/JROCKWAY/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(Test::Builder)
-BuildRequires:  perl(Test::Builder::Tester)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(YAML) >= 0.60
-BuildRequires:  perl(YAML::Syck)
-BuildRequires:  perl(YAML::Tiny)
-BuildRequires:  perl(YAML::XS)
 Requires:       perl(YAML) >= 0.60
-Requires:       perl(Test::Builder)
-Requires:       perl(Exporter)
+%{perl_requires}
 
 %description
-This module lets you easily test the validity of YAML.
+Test for valid YAML
 
 %prep
-%setup -q -n "Test-YAML-Valid-%{version}"
-%__sed -i '/^auto_install/d' Makefile.PL
+%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 PREFIX="%{_prefix}"
-%__make %{?jobs:-j%{jobs}}
-%install
-%perl_make_install
-%perl_process_packlist
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-%__make test
+%{__make} test
 
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
 
-%files
-%defattr(-,root,root)
+%files -f %{name}.files
+%defattr(-,root,root,755)
 %doc Changes README
-%dir %{perl_vendorlib}/Test
-%dir %{perl_vendorlib}/Test/YAML
-%{perl_vendorlib}/Test/YAML/Valid.pm
-%dir %{perl_vendorarch}/auto/Test
-%dir %{perl_vendorarch}/auto/Test/YAML
-%{perl_vendorarch}/auto/Test/YAML/Valid
-%doc %{perl_man3dir}/Test::YAML::Valid.%{perl_man3ext}%{ext_man}
 
 %changelog

++++++ cpanspec.yml ++++++
---
post_prep:
 sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse 
inc::Module::Install/' Makefile.PL

Reply via email to