From b8d5c7064003ebf7539b81bdeb27620dc402e3bddff60bc16f5c6d42261ccac5 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 14 Sep 2018 08:39:03 +0000 Subject: [PATCH] Accepting request 635581 from home:pmonrealgonzalez:branches:devel:languages:perl - update to version 1.1 Updated the package to use Module::Build. This should help distribution packagers who commonly patched the old Makefile to rearrange the install. Applied Ardo van Rangelrooij's debian patches - Cleaned spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/635581 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SGMLS?expand=0&rev=20 --- SGMLSpm-1.03ii.tar.gz | 3 --- SGMLSpm-1.1.tar.gz | 3 +++ perl-SGMLS.changes | 12 +++++++++++ perl-SGMLS.spec | 47 ++++++++++++++++++++----------------------- 4 files changed, 37 insertions(+), 28 deletions(-) delete mode 100644 SGMLSpm-1.03ii.tar.gz create mode 100644 SGMLSpm-1.1.tar.gz diff --git a/SGMLSpm-1.03ii.tar.gz b/SGMLSpm-1.03ii.tar.gz deleted file mode 100644 index 8c2e37c..0000000 --- a/SGMLSpm-1.03ii.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913 -size 93250 diff --git a/SGMLSpm-1.1.tar.gz b/SGMLSpm-1.1.tar.gz new file mode 100644 index 0000000..6ea5fde --- /dev/null +++ b/SGMLSpm-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd +size 114100 diff --git a/perl-SGMLS.changes b/perl-SGMLS.changes index 96be25c..e513fa8 100644 --- a/perl-SGMLS.changes +++ b/perl-SGMLS.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Sep 13 16:44:30 UTC 2018 - pmonrealgonzalez@suse.com + +- update to version 1.1 + Updated the package to use Module::Build. This should help + distribution packagers who commonly patched the old Makefile + to rearrange the install. + + Applied Ardo van Rangelrooij's debian patches + +- Cleaned spec file with spec-cleaner + ------------------------------------------------------------------- Mon Apr 15 10:43:45 UTC 2013 - idonmez@suse.com diff --git a/perl-SGMLS.spec b/perl-SGMLS.spec index 919b77d..fc26860 100644 --- a/perl-SGMLS.spec +++ b/perl-SGMLS.spec @@ -1,7 +1,7 @@ # # spec file for package perl-SGMLS # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,17 +17,17 @@ Name: perl-SGMLS -Version: 1.03ii +Version: 1.1 Release: 0 Summary: SGML/XML Parsers -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Publishing/SGML -Url: http://www.garshol.priv.no/download/xmltools/prod/SGMLSpm.html -Source: http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%version.tar.gz +Url: https://metacpan.org/release/RAAB/SGMLSpm-1.1 +Source: https://www.cpan.org/authors/id/R/RA/RAAB/SGMLSpm-%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%perl_requires +BuildRequires: perl(Module::Build) +%{perl_requires} %description SGMLSpm is a Perl script that reads ESIS output (from parsers like SP) @@ -35,31 +35,28 @@ and offers an event-based interface to the parser. As long as the parser can parse XML this also works for XML. %prep -%setup -n SGMLSpm -q +%setup -q -n SGMLSpm-1.1 %build %install -mkdir -p %{buildroot}%perl_vendorlib -mkdir -p %{buildroot}%perl_vendorlib/SGMLS -mkdir -p %{buildroot}%{_prefix}/bin -install SGMLS.pm %{buildroot}%perl_vendorlib -install skel.pl %{buildroot}%perl_vendorlib -install Output.pm Refs.pm %{buildroot}%perl_vendorlib/SGMLS -install sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl +mkdir -p %{buildroot}%{perl_vendorlib} +mkdir -p %{buildroot}%{perl_vendorlib}/SGMLS +mkdir -p %{buildroot}%{_bindir} +install lib/SGMLS.pm %{buildroot}%{perl_vendorlib} +install lib/sgmlspl-specs/skel.pl %{buildroot}%{perl_vendorlib} +install lib/SGMLS/Output.pm lib/SGMLS/Refs.pm %{buildroot}%{perl_vendorlib}/SGMLS +install script/sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root) -%doc COPYING README BUGS ChangeLog TODO DOC/HTML/* -%dir %perl_vendorlib/SGMLS -%perl_vendorlib/SGMLS.pm -%perl_vendorlib/skel.pl -%perl_vendorlib/SGMLS/Output.pm -%perl_vendorlib/SGMLS/Refs.pm +%license COPYING +%doc README BUGS ChangeLog TODO DOC/HTML/* +%dir %{perl_vendorlib}/SGMLS +%{perl_vendorlib}/SGMLS.pm +%{perl_vendorlib}/skel.pl +%{perl_vendorlib}/SGMLS/Output.pm +%{perl_vendorlib}/SGMLS/Refs.pm %{_bindir}/sgmlspl %changelog