public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-XML-Filter-XInclude] rawhide: Spec tidy-up
@ 2026-11-25 15:03 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-25 15:03 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 15:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 15:03 [rpms/perl-XML-Filter-XInclude] rawhide: Spec tidy-up Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox