Hello community,

here is the log from the commit of package perl-XML-LibXSLT for 
openSUSE:Factory checked in at 2019-12-07 15:22:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXSLT (Old)
 and      /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-XML-LibXSLT"

Sat Dec  7 15:22:28 2019 rev:36 rq:751669 version:1.96

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-LibXSLT/perl-XML-LibXSLT.changes        
2018-03-30 12:01:17.935019816 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.4691/perl-XML-LibXSLT.changes  
    2019-12-07 15:23:24.451728652 +0100
@@ -1,0 +2,14 @@
+Thu Nov 28 15:22:06 UTC 2019 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Fix basic test that fails when build and run time versions are the same
+  * Add patch perl-XML-LibXSLT-lib-versions.patch
+
+-------------------------------------------------------------------
+Tue Nov 19 09:35:38 UTC 2019 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Update spec file
+  * Use https and metacpan.org
+  * Use license tag for the LICENSE file
+  * Add cpanspec.yml file
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml
  perl-XML-LibXSLT-lib-versions.patch

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

Other differences:
------------------
++++++ perl-XML-LibXSLT.spec ++++++
--- /var/tmp/diff_new_pack.zWM4Wi/_old  2019-12-07 15:23:24.903728590 +0100
+++ /var/tmp/diff_new_pack.zWM4Wi/_new  2019-12-07 15:23:24.907728589 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-XML-LibXSLT
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,18 +21,20 @@
 Release:        0
 %define cpan_name XML-LibXSLT
 Summary:        Interface to the GNOME libxslt library
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/XML-LibXSLT/
-Source:         
http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(XML::LibXML) >= 1.70
 Requires:       perl(XML::LibXML) >= 1.70
 %{perl_requires}
-# MANUAL
+# MANUAL BEGIN
 BuildRequires:  libxslt-devel
+Patch0:         perl-XML-LibXSLT-lib-versions.patch
+# MANUAL END
 
 %description
 This module is an interface to the GNOME project's libxslt. This is an
@@ -41,13 +43,16 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+# MANUAL BEGIN
+%patch0 -p1
+# MANUAL END
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
@@ -56,6 +61,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes example LICENSE README
+%doc Changes example README
+%license LICENSE
 
 %changelog

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 1
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
patches:
   perl-XML-LibXSLT-lib-versions.patch: -p1
preamble: |-
 BuildRequires:  libxslt-devel
 Patch0:         perl-XML-LibXSLT-lib-versions.patch
#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_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
++++++ perl-XML-LibXSLT-lib-versions.patch ++++++
Index: XML-LibXSLT-1.96/t/01basic.t
===================================================================
--- XML-LibXSLT-1.96.orig/t/01basic.t
+++ XML-LibXSLT-1.96/t/01basic.t
@@ -19,7 +19,7 @@ ok($p, ' TODO : Add test name');
 is(XML::LibXSLT::LIBXSLT_VERSION(), XML::LibXSLT::LIBXSLT_RUNTIME_VERSION(), 
'LIBXSLT_VERSION is the same as the runtime version.');
 
 # TEST
-is(XML::LibXML::LIBXML_VERSION(), XML::LibXML::LIBXML_RUNTIME_VERSION(), 
'LibXML version is the same as its run time version.');
+ok(XML::LibXML::LIBXML_VERSION() <= XML::LibXML::LIBXML_RUNTIME_VERSION(), 
'LibXML build time version is <= run time version.');
 
 warn "\n\nCompiled against:    ",
        "libxslt ",XML::LibXSLT::LIBXSLT_VERSION(),

Reply via email to