Name: perl-XML-NamespaceSupport Version: 1.12 Release: 24%{?dist} Summary: A simple generic name space support class License: GPL-1.0-or-later OR Artistic-1.0-Perl Url: https://metacpan.org/release/XML-NamespaceSupport Source0: https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(constant) BuildRequires: perl(vars) # Tests BuildRequires: perl(Test::More) %description This module offers a simple to process name-spaced XML names (unames) from within any application that may need them. It also helps maintain a prefix to name space URI map, and provides a number of basic checks. %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 XML-NamespaceSupport-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} # 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 %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/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/XML/ %{_mandir}/man3/XML::NamespaceSupport*.3* %files tests %{_libexecdir}/%{name} %changelog * Tue Nov 26 2024 MSVSphere Packaging Team - 1.12-24 - Rebuilt for MSVSphere 10 * Mon Jun 24 2024 Troy Dawson - 1.12-24 - Bump release for June 2024 mass rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.12-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.12-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Sep 18 2023 Jitka Plesnikova - 1.12-21 - Package tests * Fri Jul 21 2023 Fedora Release Engineering - 1.12-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.12-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.12-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.12-17 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.12-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.12-14 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.12-11 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.12-8 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.12-5 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.12-2 - Perl 5.26 rebuild * Fri Mar 31 2017 Petr Pisar - 1.12-1 - 1.12 bump * Sat Feb 11 2017 Fedora Release Engineering - 1.11-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.11-19 - Perl 5.24 rebuild * Mon Feb 29 2016 Jitka Plesnikova - 1.11-18 - Package cleanup * Thu Feb 04 2016 Fedora Release Engineering - 1.11-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.11-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.11-15 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.11-14 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.11-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.11-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.11-11 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Aug 27 2012 Jitka Plesnikova - 1.11-9 - Specify all dependencies. - Update %%description. * Fri Jul 20 2012 Fedora Release Engineering - 1.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 1.11-7 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 1.11-5 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 1.11-3 - 661697 rebuild for fixing problems with vendorach/lib * Tue Jun 29 2010 Lubomir Rintel - 1.11-2 - Rebuild 1.11 for perl 5.12 as well * Tue May 11 2010 Petr Pisar - 1.11-1 - 1.11 version bump * Fri May 07 2010 Marcela Maslanova - 1.10-4 - Mass rebuild with perl-5.12.0 * Wed Jan 27 2010 Stepan Kasal - 1.10-3 - fix upstream URL * Mon Dec 7 2009 Stepan Kasal - 1.10-2 - rebuild against perl 5.10.1 * Tue Oct 6 2009 Marcela Mašláňová - 1.10-1 - update to new upstream release * Sun Jul 26 2009 Fedora Release Engineering - 1.09-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.09-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 1.09-4 - Rebuild for perl 5.10 (again) * Thu Jan 24 2008 Tom "spot" Callaway - 1.09-3 - rebuild for new perl * Wed Oct 17 2007 Tom "spot" Callaway - 1.09-2.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Sat Feb 17 2007 Jose Pedro Oliveira - 1.09-2 - Minor specfile cleanups. - Dist tag. * Wed Jul 12 2006 Jesse Keating - 1.09-1.2.1 - rebuild * Fri Feb 03 2006 Jason Vas Dias - 1.09-1.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Fri Sep 9 2005 Jose Pedro Oliveira - 1.09-1 - Update to 1.09. * Sat Apr 30 2005 Jose Pedro Oliveira - 1.08-7 - Bring up to date with current Fedora.Extras perl spec template. (#156511) * Wed Sep 22 2004 Chip Turner 1.08-6 - rebuild * Thu Oct 17 2002 cturner@redhat.com - Specfile autogenerated