Name: perl-libxml-perl Version: 0.08 Release: 53%{?dist} Summary: A collection of Perl modules for working with XML License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Fedora-Public-Domain URL: https://metacpan.org/release/libxml-perl Source0: https://cpan.metacpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(:VERSION) >= 5.5.0 BuildRequires: perl(Carp) BuildRequires: perl(IO::File) BuildRequires: perl(strict) BuildRequires: perl(UNIVERSAL) BuildRequires: perl(vars) BuildRequires: perl(XML::Parser) >= 2.19 # Tests: Requires: perl(XML::Parser) >= 2.19 # Filter out unversioned provides %global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Data::Grove\\)$ # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(XML::Parser\\)$ %description libxml-perl is a collection of smaller Perl modules, scripts, and documents for working with XML in Perl. libxml-perl software works in combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and others. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n libxml-perl-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/bash set -e # Some tests write into temporary files/directories. The easiest solution # is to copy the tests into a writable directory and execute them from there. DIR=$(mktemp -d) pushd "$DIR" cp -a %{_libexecdir}/%{name}/* ./ prove -I . -j "$(getconf _NPROCESSORS_ONLN)" popd rm -rf "$DIR" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check make test %files %doc ChangeLog Changes README %{perl_vendorlib}/Data/ %{perl_vendorlib}/XML/ %{_mandir}/man3/Data*.3* %{_mandir}/man3/XML*.3* %files tests %{_libexecdir}/%{name} %changelog * Mon Dec 23 2024 Arkady L. Shane - 0.08-53 - Rebuilt for MSVSphere 10 * Fri Jul 19 2024 Fedora Release Engineering - 0.08-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 01 2024 Jitka Plesnikova - 0.08-52 - Package tests * Thu Jan 25 2024 Fedora Release Engineering - 0.08-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.08-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.08-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.08-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.08-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.08-46 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.08-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.08-44 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.08-43 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.08-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.08-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.08-40 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.08-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.08-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.08-37 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.08-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.08-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.08-34 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.08-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.08-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.08-31 - Perl 5.26 re-rebuild of bootstrapped packages * Tue Jun 06 2017 Petr Pisar - 0.08-30 - Modernize spec file * Mon Jun 05 2017 Jitka Plesnikova - 0.08-29 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.08-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.08-27 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.08-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.08-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.08-24 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.08-23 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.08-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.08-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 0.08-20 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.08-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 22 2012 Petr Ĺ abata - 0.08-18 - Correct buildtime dependencies - Correct the licence tag - Update the provides filter - Drop command macros - Modernize spec * Fri Jul 20 2012 Fedora Release Engineering - 0.08-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Petr Pisar - 0.08-16 - Perl 5.16 rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.08-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Petr Sabata - 0.08-14 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.08-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.08-12 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 0.08-11 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.08-10 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.08-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.08-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Mar 7 2008 Tom "spot" Callaway - 0.08-6 - don't filter out all Data::Grove provides, only unversioned one * Wed Feb 27 2008 Tom "spot" Callaway - 0.08-5 - Rebuild for perl 5.10 (again) * Thu Jan 24 2008 Tom "spot" Callaway - 0.08-4 - rebuild for new perl * Fri Oct 26 2007 Robin Norwood - 0.08-3 - Fix old changelog entry - Fix issues from package review: - Remove extra BR: perl - Remove "|| :" from check section - Add dist tag to release - Remove extra Provides: perl(Data::Grove) - Clean up tabs and spacing - Resolves: bz#226269 * Tue Oct 16 2007 Tom "spot" Callaway - 0.08-2 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Wed Jul 12 2006 Jesse Keating - 0.08-1.3 - rebuild * Fri Feb 03 2006 Jason Vas Dias - 0.08-1.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Sat Apr 02 2005 Jose Pedro Oliveira - 0.08-1 - Update to 0.08. - spec cleanup (#153199) * Wed Sep 22 2004 Chip Turner 0.07-30 - rebuild * Fri Apr 23 2004 Chip Turner 0.07-29 - bump * Tue Aug 6 2002 Chip Turner - automated release bump and build * Wed Mar 27 2002 Chip Turner - move to vendor_perl * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Jul 18 2001 Crutcher Dunnavant 0.07-5 - imported from mandrake. tweaked man path. * Sun Jun 17 2001 Geoffrey Lee 0.07-4mdk - Rebuild for the latest perl. - Remove Distribution and Vendor tag. - Don't run make test for now. * Tue Mar 13 2001 Jeff Garzik 0.07-3mdk - BuildArch: noarch - add docs - rename spec file - clean up spec a bit - run automated tests * Sat Sep 16 2000 Stefan van der Eijk 0.07-2mdk - Call spec-helper before creating filelist * Wed Aug 09 2000 Jean-Michel Dault 0.07-1mdk - Macroize package