public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Kwiki-Revisions] rawhide: Modernize a spec file
Date: Wed, 14 Oct 2026 07:47:53 GMT	[thread overview]
Message-ID: <179196407376.1.10641317627256630351.rpms-perl-Kwiki-Revisions-44ded93f3efa@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Kwiki-Revisions
Branch : rawhide
Commit : 44ded93f3efae0a653cc241c5e5bee6069a35c1c
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-14T09:44:00+02:00
Stats  : +9/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Kwiki-Revisions/c/44ded93f3efae0a653cc241c5e5bee6069a35c1c?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Kwiki-Revisions.spec b/perl-Kwiki-Revisions.spec
index 728c0a5..3698f88 100644
--- a/perl-Kwiki-Revisions.spec
+++ b/perl-Kwiki-Revisions.spec
@@ -2,16 +2,16 @@ Name:           perl-Kwiki-Revisions
 Version:        0.15
 Release:        62%{?dist}
 Summary:        Kwiki Revisions Plugin
-# 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/Kwiki-Revisions
 Source0:        https://cpan.metacpan.org/authors/id/I/IN/INGY/Kwiki-Revisions-%{version}.tar.gz
 Patch0:         Kwiki-Revisions-0.15-Fix-building-on-Perl-without-dot-in-INC.patch
 BuildArch:      noarch
 # Build
+BuildRequires:  coreutils
 BuildRequires:  make
-BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
 BuildRequires:  perl(Config)
 BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
@@ -43,15 +43,14 @@ Requires:       perl(Kwiki::Installer)
 %{summary}.
 
 %prep
-%setup -q -n Kwiki-Revisions-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n Kwiki-Revisions-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
+%{make_install} DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -59,8 +58,9 @@ make test
 
 %files
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Kwiki
+%{perl_vendorlib}/Kwiki/Revisions.pm
+%{_mandir}/man3/Kwiki::Revisions.*
 
 %changelog
 * Wed Oct 14 2026 Petr Pisar <ppisar@redhat.com> - 0.15-62

                 reply	other threads:[~2026-10-14  7:47 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=179196407376.1.10641317627256630351.rpms-perl-Kwiki-Revisions-44ded93f3efa@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