Accepting request 1244919 from devel:languages:perl
- Normalize CPAN version See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/request/show/1244919 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Alien-Libxml2?expand=0&rev=8
This commit is contained in:
commit
6a151cda54
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 22:11:13 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 03:06:03 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Alien-Libxml2
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,27 +18,31 @@
|
||||
|
||||
%define cpan_name Alien-Libxml2
|
||||
Name: perl-Alien-Libxml2
|
||||
Version: 0.19
|
||||
Version: 0.190.0
|
||||
Release: 0
|
||||
# 0.19 -> normalize -> 0.190.0
|
||||
%define cpan_version 0.19
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Install the C libxml2 library on your system
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Alien::Base) >= 2.37
|
||||
BuildRequires: perl(Alien::Build) >= 2.37
|
||||
BuildRequires: perl(Alien::Build::MM) >= 2.37
|
||||
BuildRequires: perl(Alien::Build::Plugin::Build::SearchDep) >= 0.35
|
||||
BuildRequires: perl(Alien::Base) >= 2.370
|
||||
BuildRequires: perl(Alien::Build) >= 2.370
|
||||
BuildRequires: perl(Alien::Build::MM) >= 2.370
|
||||
BuildRequires: perl(Alien::Build::Plugin::Build::SearchDep) >= 0.350
|
||||
BuildRequires: perl(Alien::Build::Plugin::Download::GitLab)
|
||||
BuildRequires: perl(Alien::Build::Plugin::Prefer::BadVersion) >= 1.05
|
||||
BuildRequires: perl(Alien::Build::Plugin::Prefer::BadVersion) >= 1.50.0
|
||||
BuildRequires: perl(Alien::Build::Plugin::Probe::Vcpkg)
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
|
||||
BuildRequires: perl(Test2::V0) >= 0.000121
|
||||
BuildRequires: perl(Test::Alien)
|
||||
Requires: perl(Alien::Base) >= 2.37
|
||||
Requires: perl(Alien::Base) >= 2.370
|
||||
Provides: perl(Alien::Libxml2) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0
|
||||
@ -51,8 +55,9 @@ BuildRequires: perl(Sort::Versions)
|
||||
This module provides 'libxml2' for other modules to use.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
@ -67,7 +72,7 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc alienfile author.yml Changes README
|
||||
%doc alienfile Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user