Name: perl-XML-LibXML-Devel-SetLineNumber Version: 0.002 Release: 25%{?dist} Summary: Set the line number for an XML::LibXML::Node # README: GPL+ or Artistic # COPYRIGHT: Public Domain # CONTRIBUTING: (GPL+ or Artistic) or CC-BY-SA License: (GPL+ or Artistic) and ((GPL+ or Artistic) or CC-BY-SA) and Public Domain URL: https://metacpan.org/release/XML-LibXML-Devel-SetLineNumber Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/XML-LibXML-Devel-SetLineNumber-%{version}.tar.gz BuildRequires: gcc BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 BuildRequires: perl(strict) BuildRequires: pkgconfig(libxml-2.0) # Run-time: BuildRequires: perl(:VERSION) >= 5.8.3 BuildRequires: perl(Exporter) BuildRequires: perl(warnings) BuildRequires: perl(XML::LibXML) >= 1.90 BuildRequires: perl(XML::LibXML::Devel) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Test::More) >= 0.47 Requires: perl(XML::LibXML) >= 1.90 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(XML::LibXML\\)$ %description If you are, say, writing a parser for a non-XML format that happens to have an XML-like data model, then you might wish to parse your format into an XML::LibXML document with elements, attributes and so on. And you might want all those nodes to return the correct line numbers when the "line_number" method is called on them. This Perl module allows you to set the line number. %prep %setup -q -n XML-LibXML-Devel-SetLineNumber-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes CONTRIBUTING COPYRIGHT CREDITS README %{perl_vendorarch}/auto/* %{perl_vendorarch}/XML* %{_mandir}/man3/* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.002-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.002-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.002-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.002-22 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.002-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.002-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.002-19 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.002-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.002-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.002-16 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.002-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.002-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.002-13 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.002-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.002-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.002-10 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.002-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.002-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.002-7 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.002-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.002-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.002-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.002-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.002-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Nov 07 2016 Petr Pisar 0.002-1 - Specfile autogenerated by cpanspec 1.78.