Name: perl-XML-DifferenceMarkup Version: 1.05 Release: 38%{?dist} Summary: XML diff and merge # ppport.h: GPL-1.0-or-later OR Artistic-1.0-Perl # README: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/XML-DifferenceMarkup Source0: https://cpan.metacpan.org/authors/id/V/VB/VBAR/XML-DifferenceMarkup-%{version}.tar.gz # Use system CLFAGS Patch0: XML-DifferenceMarkup-1.05-Do-not-override-CCFLAGS.patch # Adapt to GCC 13, proposed to an upstream, CPAN RT#145911 Patch1: perl-XML-DifferenceMarkup-configure-c99.patch # Adapt to libxml2 2.12.0 and GCC 14, proposed to the upstream, CPAN RT#151218 Patch2: XML-DifferenceMarkup-1.05-Adapt-to-libxml2-2.12.0-and-gcc-14.patch BuildRequires: coreutils BuildRequires: diffmark-devel BuildRequires: findutils # Makefile.PL generates a temporary Makefile.PL distribution with an XS # file that links to probe libxml2 (with gcc) and diffmark (with g++) # libraries. BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(XML::LibXML) >= 1.70 BuildRequires: perl(XSLoader) # Tests only: BuildRequires: perl(Test) BuildRequires: perl(Test::More) Requires: perl(XML::LibXML) >= 1.70 %{?perl_default_filter} # Filter underspecified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(XML::LibXML\\)$ %description This module implements an XML diff producing XML output. Both input and output are DOM documents, as implemented by XML::LibXML. %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness Requires: perl(XML::LibXML) >= 1.70 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %autosetup -p1 -n XML-DifferenceMarkup-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -size 0 -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t testdata %{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 %doc Changes README %dir %{perl_vendorarch}/auto/XML %dir %{perl_vendorarch}/auto/XML/DifferenceMarkup %{perl_vendorarch}/auto/XML/DifferenceMarkup/DifferenceMarkup.so %dir %{perl_vendorarch}/XML %{perl_vendorarch}/XML/DifferenceMarkup.pm %{_mandir}/man3/XML::DifferenceMarkup.* %files tests %{_libexecdir}/%{name} %changelog * Sat Jan 18 2025 Fedora Release Engineering - 1.05-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 1.05-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 11 2024 Jitka Plesnikova - 1.05-36 - Perl 5.40 rebuild * Tue Jan 23 2024 Petr Pisar - 1.05-35 - Adapt to libxml2 2.12.0 and GCC 14 (CPAN RT#151218) * Sun Jan 21 2024 Fedora Release Engineering - 1.05-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.05-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 1.05-32 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.05-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 17 2023 Petr Pisar - 1.05-30 - Convert a License tag to an SPDX format - Package the tests * Sun Jan 15 2023 Florian Weimer - 1.05-29 - C99 compatibility fixes (CPAN RT#145911) * Fri Jul 22 2022 Fedora Release Engineering - 1.05-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.05-27 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.05-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.05-25 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.05-24 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.05-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.05-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.05-21 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.05-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.05-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.05-18 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.05-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 17 2018 Petr Pisar - 1.05-16 - Modernize spec file - Specify all dependencies - Use system CFLAGS * Fri Jul 13 2018 Fedora Release Engineering - 1.05-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.05-14 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.05-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.05-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.05-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.05-10 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.05-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.05-8 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.05-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.05-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.05-5 - Perl 5.22 rebuild * Sat May 02 2015 Kalev Lember - 1.05-4 - Rebuilt for GCC 5 C++11 ABI change * Fri Aug 29 2014 Jitka Plesnikova - 1.05-3 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 23 2014 Petr Pisar - 1.05-1 - 1.05 bump * Mon Jun 09 2014 Petr Pisar - 1.04-9 - Fix -Werror=format-security warning on i686 (bug #1106279) * Sat Jun 07 2014 Fedora Release Engineering - 1.04-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 1.04-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 1.04-3 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 18 2011 Petr Pisar 1.04-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot and defattr from spec code