public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-DateTime-Set] rawhide: Spec tidy-up
@ 2026-10-07 12:44 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-07 12:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-DateTime-Set
            Branch : rawhide
            Commit : 87ad57eef6924d0db440aca9ca19e30959beaf9e
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-10-07T13:44:01+01:00
            Stats  : +21/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-DateTime-Set/c/87ad57eef6924d0db440aca9ca19e30959beaf9e?branch=rawhide

            Log:
            Spec tidy-up

- Specify all build dependencies
- Use "--" with options for "Build"
- Fix permissions verbosely
- Make %files list more explicit

---
diff --git a/perl-DateTime-Set.spec b/perl-DateTime-Set.spec
index 1e826cc..142cf00 100644
--- a/perl-DateTime-Set.spec
+++ b/perl-DateTime-Set.spec
@@ -1,6 +1,6 @@
 Name:           perl-DateTime-Set
 Version:        0.3900
-Release:        28%{?dist}
+Release:        29%{?dist}
 Summary:        Datetime sets and set math
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/DateTime-Set
@@ -8,8 +8,9 @@ Source0:        https://cpan.metacpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-%{
 Patch0:         DateTime-Set-0.32-version.patch
 BuildArch:      noarch
 # Build
-BuildRequires:  perl-interpreter
+BuildRequires:  coreutils
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(strict)
 # Runtime
@@ -24,6 +25,8 @@ BuildRequires:  perl(vars)
 # Test Suite
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(warnings)
+# Dependencies
+# (none)
 
 %description
 DateTime::Set is a module for datetime sets. It can be used to handle two
@@ -43,12 +46,12 @@ time", or "every Wednesday between 2003-03-05 and 2004-01-07".
 %patch -P0
 
 %build
-perl Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
-./Build install destdir="%{buildroot}" create_packlist=0
-%{_fixperms} %{buildroot}
+./Build install --destdir="%{buildroot}" --create_packlist=0
+%{_fixperms} -c %{buildroot}
 
 %check
 ./Build test
@@ -56,10 +59,21 @@ perl Build.PL installdirs=vendor
 %files
 %license LICENSE
 %doc Changes README TODO
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/DateTime/
+%{perl_vendorlib}/Set/
+%{_mandir}/man3/DateTime::Set.3*
+%{_mandir}/man3/DateTime::Span.3*
+%{_mandir}/man3/DateTime::SpanSet.3*
+%{_mandir}/man3/Set::Infinite::_recurrence.3*
 
 %changelog
+* Wed Oct  7 2026 Paul Howarth <paul@city-fan.org> - 0.3900-29
+- Spec tidy-up
+  - Specify all build dependencies
+  - Use "--" with options for "Build"
+  - Fix permissions verbosely
+  - Make %%files list more explicit
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.3900-28
 - 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-10-07 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 12:44 [rpms/perl-DateTime-Set] 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