Hello community, here is the log from the commit of package perl-XML-XSLT for openSUSE:Factory checked in at 2020-10-12 13:58:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-XSLT (Old) and /work/SRC/openSUSE:Factory/.perl-XML-XSLT.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-XSLT" Mon Oct 12 13:58:11 2020 rev:21 rq:840401 version:0.48 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-XSLT/perl-XML-XSLT.changes 2011-11-21 12:51:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-XML-XSLT.new.3486/perl-XML-XSLT.changes 2020-10-12 13:59:30.634220997 +0200 @@ -1,0 +2,7 @@ +Fri Oct 9 08:13:29 UTC 2020 - Pedro Monreal <pmonr...@suse.com> + +- Fix build and update spec file +- Add cpanspec file +- Add fdupes macro + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-XSLT.spec ++++++ --- /var/tmp/diff_new_pack.XRswtS/_old 2020-10-12 13:59:31.070221179 +0200 +++ /var/tmp/diff_new_pack.XRswtS/_new 2020-10-12 13:59:31.070221179 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-XSLT # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,61 +12,65 @@ # 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/ # -# norootforbuild - Name: perl-XML-XSLT -BuildRequires: perl-XML-DOM perl-XML-Parser perl-libwww-perl -BuildRequires: perl-macros Version: 0.48 -Release: 180 -Requires: perl-XML-Parser perl-XML-DOM perl-libwww-perl perl-URI perl-XML-RegExp -AutoReqProv: on +Release: 0 +%define cpan_name XML-XSLT +Summary: Perl module for processing XSLT +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -License: Artistic-1.0 -Url: http://cpan.org/modules/by-module/XML/ -Summary: Perl module XML::XSLT -Source: XML-XSLT-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +# MANUAL BEGIN +BuildRequires: fdupes +# MANUAL END +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(XML::DOM) >= 1.25 +BuildRequires: perl(XML::Parser) >= 2.23 +Requires: perl(XML::DOM) >= 1.25 +Requires: perl(XML::Parser) >= 2.23 %{perl_requires} %description -This is a Perl module to parse XSL Transformational sheets. - - - -Authors: --------- - Geert Josten <gjos...@sci.kun.nl> - Egon Willighagen <eg...@sci.kun.nl> +This module implements the W3C's XSLT specification. The goal is full +implementation of this spec, but we have not yet achieved that. However, it +already works well. See XML::XSLT Commands for the current status of each +command. + +XML::XSLT makes use of XML::DOM and LWP::Simple, while XML::DOM uses +XML::Parser. Therefore XML::Parser, XML::DOM and LWP::Simple have to be +installed properly for XML::XSLT to run. %prep -%setup -n XML-XSLT-%{version} +%setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -perl Makefile.PL +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} + +%check make test %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist -chmod 755 examples -chmod 644 README - -%clean -rm -rf $RPM_BUILD_ROOT +%perl_gen_filelist -%files -%defattr(-, root, root) -%doc ChangeLog README examples -%doc %{_mandir}/man?/* -%{perl_vendorlib}/XML/* -%{perl_vendorarch}/auto/XML/XSLT/ -%{_bindir}/* +# MANUAL BEGIN +%fdupes -s examples +# MANUAL END + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc ChangeLog examples README xslt-parser %changelog ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: preamble: |- BuildRequires: fdupes #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_build: |- # rm unused.files post_install: |- %fdupes %{buildroot} #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module