2024-07-23 19:56:42 +00:00
committed by Git OBS Bridge
parent 113319ec7f
commit 456cd82835

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Strip
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,21 @@
%define cpan_name HTML-Strip
Name: perl-HTML-Strip
Version: 2.12
Version: 2.120.0
Release: 0
# 2.12 -> normalize -> 2.120.0
%define cpan_version 2.12
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for stripping HTML markup from text
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KI/KILINRAX/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/K/KI/KILINRAX/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Exception)
Requires: perl(Test::Exception)
Provides: perl(HTML::Strip) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -80,7 +84,7 @@ calls to 'parse()', or set 'auto_reset' to true (either on the constructor
or with 'set_auto_reset') so that the parser will reset after each call.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"