public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-XML-Filter-XInclude] rawhide: Spec tidy-up
Date: Wed, 25 Nov 2026 15:03:39 GMT	[thread overview]
Message-ID: <179561901941.1.18415230453842785050.rpms-perl-XML-Filter-XInclude-3c4a8c9d7f35@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-XML-Filter-XInclude
            Branch : rawhide
            Commit : 3c4a8c9d7f3587d6bbc237d856aed83800480627
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-11-25T15:03:01+00:00
            Stats  : +18/-18 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-XML-Filter-XInclude/c/3c4a8c9d7f3587d6bbc237d856aed83800480627?branch=rawhide

            Log:
            Spec tidy-up

- Use %{make_build} and %{make_install}
- Drop redundant buildroot cleaning from %install section
- Fix permissions verbosely

---
diff --git a/perl-XML-Filter-XInclude.spec b/perl-XML-Filter-XInclude.spec
index 9aafe4b..b10a68b 100644
--- a/perl-XML-Filter-XInclude.spec
+++ b/perl-XML-Filter-XInclude.spec
@@ -1,22 +1,21 @@
 Name:           perl-XML-Filter-XInclude
 Version:        1.0
-Release:        51%{?dist}
+Release:        52%{?dist}
 Summary:        XInclude as a SAX Filter
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/XML-Filter-XInclude
 Source0:        https://cpan.metacpan.org/modules/by-module/XML/XML-Filter-XInclude-%{version}.tar.gz
 BuildArch:      noarch
+# Build:
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
-BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 # Run-time:
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Cwd)
-# LWP::UserAgent not used at tests
+BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(URI)
 BuildRequires:  perl(vars)
@@ -25,6 +24,7 @@ BuildRequires:  perl(XML::SAX::Base)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(XML::SAX) >= 0.05
 BuildRequires:  perl(XML::SAX::Writer)
+# Dependencies:
 Requires:       perl(LWP::UserAgent)
 
 %description
@@ -35,28 +35,28 @@ It does NOT support XPointer.
 %setup -q -n XML-Filter-XInclude-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} %{buildroot}/*
+%{make_install}
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
 
 %files
 %doc Changes README examples
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/XML/
+%{_mandir}/man3/XML::Filter::XInclude.3*
 
 %changelog
+* Wed Nov 25 2026 Paul Howarth <paul@city-fan.org> - 1.0-52
+- Spec tidy-up
+  - Use %%{make_build} and %%{make_install}
+  - Drop redundant buildroot cleaning from %%install section
+  - Fix permissions verbosely
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-51
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-11-25 15:03 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=179561901941.1.18415230453842785050.rpms-perl-XML-Filter-XInclude-3c4a8c9d7f35@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=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