public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Kwiki-NewPage] rawhide: Modernize a spec file
@ 2026-10-13 15:17
0 siblings, 0 replies; only message in thread
From: @ 2026-10-13 15:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Kwiki-NewPage
Branch : rawhide
Commit : c6af1f81ba37f6615c6e117c265850669bdcb37d
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-13T17:09:30+02:00
Stats : +9/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Kwiki-NewPage/c/c6af1f81ba37f6615c6e117c265850669bdcb37d?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-Kwiki-NewPage.spec b/perl-Kwiki-NewPage.spec
index d835f7f..2fb007f 100644
--- a/perl-Kwiki-NewPage.spec
+++ b/perl-Kwiki-NewPage.spec
@@ -2,16 +2,16 @@ Name: perl-Kwiki-NewPage
Version: 0.12
Release: 62%{?dist}
Summary: Kwiki New Page 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-NewPage
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Kwiki-NewPage-%{version}.tar.gz
Patch0: Kwiki-NewPage-0.12-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)
Kwiki New Page plugin.
%prep
-%setup -q -n Kwiki-NewPage-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n Kwiki-NewPage-%{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}
%{_fixperms} %{buildroot}/*
%check
@@ -59,8 +58,9 @@ make test
%files
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Kwiki
+%{perl_vendorlib}/Kwiki/NewPage.pm
+%{_mandir}/man3/Kwiki::NewPage.*
%changelog
* Tue Oct 13 2026 Petr Pisar <ppisar@redhat.com> - 0.12-62
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-13 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 15:17 [rpms/perl-Kwiki-NewPage] rawhide: Modernize a spec file
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox