- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-RSS-LibXML?expand=0&rev=4
This commit is contained in:
@@ -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
|
Mon Apr 13 19:05:33 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-RSS-LibXML
|
# 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
|
# 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,21 +12,20 @@
|
|||||||
# 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-XML-RSS-LibXML
|
|
||||||
Version: 0.3105
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name XML-RSS-LibXML
|
%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
|
Summary: XML::RSS with XML::LibXML
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: http://search.cpan.org/dist/XML-RSS-LibXML/
|
|
||||||
Source: http://www.cpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(CPAN::Meta)
|
BuildRequires: perl(CPAN::Meta)
|
||||||
@@ -45,6 +44,17 @@ Requires: perl(DateTime::Format::W3CDTF)
|
|||||||
Requires: perl(UNIVERSAL::require)
|
Requires: perl(UNIVERSAL::require)
|
||||||
Requires: perl(XML::LibXML) >= 1.66
|
Requires: perl(XML::LibXML) >= 1.66
|
||||||
Requires: perl(XML::LibXML::XPathContext)
|
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}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -62,21 +72,21 @@ Use this module when you have severe performance requirements working with
|
|||||||
RSS files.
|
RSS files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
perl Build.PL --installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes README.md
|
||||||
%doc Changes LICENSE README.md
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user