11
0

5 Commits

5 changed files with 48 additions and 15 deletions

BIN
Alien-Libxml2-0.19.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56aae7b339bbeb02f77c5801f57a821be5791b51f43bf7f9062bb3bfa444c328
size 22129

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Alien-Libxml2/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Alien-Libxml2)

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Mar 20 05:33:35 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.200.0 (0.20)
see /usr/share/doc/packages/perl-Alien-Libxml2/Changes
0.20 2025-03-19 07:43:21 -0600
- Blacklisted older versions of libxml2 with CVEs (gh#43, gh#45)
-------------------------------------------------------------------
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>

View File

@@ -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,32 @@
%define cpan_name Alien-Libxml2
Name: perl-Alien-Libxml2
Version: 0.19
Version: 0.200.0
Release: 0
# 0.20 -> normalize -> 0.200.0
%define cpan_version 0.20
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
Source100: README.md
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 +56,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 +73,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%doc alienfile author.yml Changes README
%doc alienfile Changes README
%license LICENSE
%changelog