Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
4bb0650520 | |||
e69aae5836 | |||
bb69634e65 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1808ec7cdf40d2708575fe6155a88f103b17fec77973a5831c2f24c250e7a58c
|
|
||||||
size 27696
|
|
3
HTML-RewriteAttributes-0.06.tar.gz
Normal file
3
HTML-RewriteAttributes-0.06.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc64200261142f9a5f7e0786dc5ab24a6330bc19bd1e3e9bb4b6d7c31621b722
|
||||||
|
size 26989
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 12 16:22:25 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.60.0 (0.06)
|
||||||
|
see /usr/share/doc/packages/perl-HTML-RewriteAttributes/Changes
|
||||||
|
|
||||||
|
0.06 Fri Nov 12 2024
|
||||||
|
Pass more args to callback to support adding attributes.
|
||||||
|
Improve documentation for other features.
|
||||||
|
Add dot ('.') to Makefile.PL to find Module::Install in newer perls. Reported by Kent Fredric, RT 121446.
|
||||||
|
Remove unneeded shebang line in lib files. Reported by Laurent Baillet, RT 126906.
|
||||||
|
Fix spelling error in docs. Reported by x.guimard, RT 126964.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 3 08:14:57 UTC 2017 - coolo@suse.com
|
Tue Oct 3 08:14:57 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-RewriteAttributes
|
# spec file for package perl-HTML-RewriteAttributes
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,24 +12,26 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-RewriteAttributes
|
|
||||||
Version: 0.05
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name HTML-RewriteAttributes
|
%define cpan_name HTML-RewriteAttributes
|
||||||
Summary: Concise Attribute Rewriting
|
Name: perl-HTML-RewriteAttributes
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
Version: 0.60.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/HTML-RewriteAttributes/
|
# 0.06 -> normalize -> 0.60.0
|
||||||
Source0: https://cpan.metacpan.org/authors/id/T/TS/TSIBLEY/%{cpan_name}-%{version}.tar.gz
|
%define cpan_version 0.06
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: Concise attribute rewriting
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
||||||
BuildRequires: perl(HTML::Entities)
|
BuildRequires: perl(HTML::Entities)
|
||||||
BuildRequires: perl(HTML::Parser)
|
BuildRequires: perl(HTML::Parser)
|
||||||
BuildRequires: perl(HTML::Tagset)
|
BuildRequires: perl(HTML::Tagset)
|
||||||
@@ -38,6 +40,10 @@ Requires: perl(HTML::Entities)
|
|||||||
Requires: perl(HTML::Parser)
|
Requires: perl(HTML::Parser)
|
||||||
Requires: perl(HTML::Tagset)
|
Requires: perl(HTML::Tagset)
|
||||||
Requires: perl(URI)
|
Requires: perl(URI)
|
||||||
|
Provides: perl(HTML::RewriteAttributes) = %{version}
|
||||||
|
Provides: perl(HTML::RewriteAttributes::Links) = 0.03
|
||||||
|
Provides: perl(HTML::RewriteAttributes::Resources) = 0.03
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -48,20 +54,24 @@ You simply specify a callback to run for each attribute and we do the rest
|
|||||||
for you.
|
for you.
|
||||||
|
|
||||||
This module is designed to be subclassable to make handling special cases
|
This module is designed to be subclassable to make handling special cases
|
||||||
eaiser. See the source for methods you can override.
|
easier. See the source for methods you can override.
|
||||||
|
|
||||||
|
See the SYNOPSIS above and included tests in the 't' directory for more
|
||||||
|
examples.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -69,7 +79,6 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user