2024-03-12 17:20:51 +00:00
committed by Git OBS Bridge
parent 65aa8a7c4f
commit aa27ba71a4
2 changed files with 32 additions and 16 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:52 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Apr 13 19:05:33 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-RSS-LibXML
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,21 +12,20 @@
# 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/
#
Name: perl-XML-RSS-LibXML
Version: 0.3105
Release: 0
%define cpan_name XML-RSS-LibXML
Name: perl-XML-RSS-LibXML
Version: 0.310.500
Release: 0
%define cpan_version 0.3105
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: XML::RSS with XML::LibXML
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-RSS-LibXML/
Source: http://www.cpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta)
@@ -45,6 +44,17 @@ Requires: perl(DateTime::Format::W3CDTF)
Requires: perl(UNIVERSAL::require)
Requires: perl(XML::LibXML) >= 1.66
Requires: perl(XML::LibXML::XPathContext)
Provides: perl(XML::RSS::LibXML) = %{version}
Provides: perl(XML::RSS::LibXML::ImplBase)
Provides: perl(XML::RSS::LibXML::MagicElement) = %{version}
Provides: perl(XML::RSS::LibXML::Namespaces)
Provides: perl(XML::RSS::LibXML::Null)
Provides: perl(XML::RSS::LibXML::V0_9)
Provides: perl(XML::RSS::LibXML::V0_91)
Provides: perl(XML::RSS::LibXML::V0_92)
Provides: perl(XML::RSS::LibXML::V1_0)
Provides: perl(XML::RSS::LibXML::V2_0)
%undefine __perllib_provides
%{perl_requires}
%description
@@ -62,21 +72,21 @@ Use this module when you have severe performance requirements working with
RSS files.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README.md
%doc Changes README.md
%license LICENSE
%changelog