Hello community,
here is the log from the commit of package perl-HTML-RewriteAttributes for
openSUSE:Factory checked in at 2017-10-03 23:19:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-RewriteAttributes (Old)
and /work/SRC/openSUSE:Factory/.perl-HTML-RewriteAttributes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTML-RewriteAttributes"
Tue Oct 3 23:19:06 2017 rev:11 rq:530758 version:0.05
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-HTML-RewriteAttributes/perl-HTML-RewriteAttributes.changes
2013-01-20 08:10:14.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-HTML-RewriteAttributes.new/perl-HTML-RewriteAttributes.changes
2017-10-03 23:19:08.870688894 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 08:14:57 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-RewriteAttributes.spec ++++++
--- /var/tmp/diff_new_pack.YLldUM/_old 2017-10-03 23:19:09.802557750 +0200
+++ /var/tmp/diff_new_pack.YLldUM/_new 2017-10-03 23:19:09.806557187 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-RewriteAttributes
#
-# Copyright (c) 2013 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,14 +20,14 @@
Version: 0.05
Release: 0
%define cpan_name HTML-RewriteAttributes
-Summary: Concise attribute rewriting
-License: GPL-1.0+ or Artistic-1.0
+Summary: Concise Attribute Rewriting
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-RewriteAttributes/
-Source:
http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/HTML-RewriteAttributes-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/T/TS/TSIBLEY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::Entities)
@@ -38,23 +38,23 @@
Requires: perl(HTML::Parser)
Requires: perl(HTML::Tagset)
Requires: perl(URI)
+%{perl_requires}
%description
-HTML::RewriteAttributes is designed for simple yet powerful HTML attribute
-rewriting.
+'HTML::RewriteAttributes' is designed for simple yet powerful HTML
+attribute rewriting.
-You simply specify a callback to run for each attribute and we do the rest for
-you.
+You simply specify a callback to run for each attribute and we do the rest
+for you.
This module is designed to be subclassable to make handling special cases
eaiser. See the source for methods you can override.
-Author:
--------
- Shawn M Moore, <[email protected]>
-
%prep
%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 INSTALLDIRS=vendor
@@ -65,19 +65,11 @@
%install
%perl_make_install
-# i really have no idea what these changes do, but i'll keep them.
-#
-# don't do perl_process_packlist (because this is a noarch package?)
-# remove .packlist file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
-# remove perllocal.pod file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
%defattr(-,root,root,755)
+%doc Changes README
%changelog
++++++ cpanspec.yml ++++++
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL