public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-XML-LibXML-Devel-SetLineNumber] rawhide: Modernize a spec file
Date: Thu, 24 Sep 2026 10:35:00 GMT [thread overview]
Message-ID: <179024610031.1.13827166840536520798.rpms-perl-XML-LibXML-Devel-SetLineNumber-b69481d0f06b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-XML-LibXML-Devel-SetLineNumber
Branch : rawhide
Commit : b69481d0f06b95fa30f77d968bcc32d1fd90c179
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-09-24T12:32:24+02:00
Stats : +19/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-XML-LibXML-Devel-SetLineNumber/c/b69481d0f06b95fa30f77d968bcc32d1fd90c179?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-XML-LibXML-Devel-SetLineNumber.spec b/perl-XML-LibXML-Devel-SetLineNumber.spec
index eee43a2..03df12d 100644
--- a/perl-XML-LibXML-Devel-SetLineNumber.spec
+++ b/perl-XML-LibXML-Devel-SetLineNumber.spec
@@ -2,22 +2,21 @@ Name: perl-XML-LibXML-Devel-SetLineNumber
Version: 0.002
Release: 36%{?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
-# Automatically converted from old format: (GPL+ or Artistic) and ((GPL+ or Artistic) or CC-BY-SA) and Public Domain - review is highly recommended.
-License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND ((GPL-1.0-or-later OR Artistic-1.0-Perl) OR LicenseRef-Callaway-CC-BY-SA) AND LicenseRef-Callaway-Public-Domain
+# README: GPL-1.0-or-later OR Artistic-1.0-Perl
+# COPYRIGHT: LicenseRef-Fedora-Public-Domain
+# CONTRIBUTING: (GPL-1.0-or-later OR Artistic-1.0-Perl) OR CC-BY-SA-2.0-UK
+License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND ((GPL-1.0-or-later OR Artistic-1.0-Perl) OR CC-BY-SA-2.0-UK) AND LicenseRef-Fedora-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
# Adapt tests to libxml-2.15.4, proposed upstream, bug #2539975,
# <https://github.com/tobyink/p5-xml-libxml-devel-setlinenumber/pull/1>
Patch0: XML-LibXML-Devel-SetLineNumber-0.002-Adapt-tests-to-libxml-2.15.4.patch
-BuildRequires: gcc
BuildRequires: findutils
+BuildRequires: gcc
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
BuildRequires: perl(strict)
BuildRequires: pkgconfig(libxml-2.0)
@@ -46,12 +45,11 @@ method is called on them. This Perl module allows you to set the line number.
%autosetup -p1 -n XML-LibXML-Devel-SetLineNumber-%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
@@ -61,13 +59,20 @@ make test
%files
%license LICENSE
%doc Changes CONTRIBUTING COPYRIGHT CREDITS README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/XML*
-%{_mandir}/man3/*
+%dir %{perl_vendorarch}/auto/XML
+%dir %{perl_vendorarch}/auto/XML/LibXML
+%dir %{perl_vendorarch}/auto/XML/LibXML/Devel
+%{perl_vendorarch}/auto/XML/LibXML/Devel/SetLineNumber
+%dir %{perl_vendorarch}/XML
+%dir %{perl_vendorarch}/XML/LibXML
+%dir %{perl_vendorarch}/XML/LibXML/Devel
+%{perl_vendorarch}/XML/LibXML/Devel/SetLineNumber.pm
+%{_mandir}/man3/XML::LibXML::Devel::SetLineNumber.*
%changelog
* Thu Sep 24 2026 Petr Pisar <ppisar@redhat.com> - 0.002-36
- Adapt tests to libxml-2.15.4 (bug #2539975)
+- Correct the license tag
* Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.002-35
- Rebuilt for libxml-2.5.4
reply other threads:[~2026-09-24 10:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179024610031.1.13827166840536520798.rpms-perl-XML-LibXML-Devel-SetLineNumber-b69481d0f06b@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox