public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Kwiki-Raw] rawhide: Modernize a spec file
@ 2026-10-13 15:37 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-13 15:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Kwiki-Raw
Branch : rawhide
Commit : c5a9103ad183089ec42a04471e9ade1df56ee716
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-13T17:35:00+02:00
Stats  : +11/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Kwiki-Raw/c/c5a9103ad183089ec42a04471e9ade1df56ee716?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Kwiki-Raw.rpmlintrc b/perl-Kwiki-Raw.rpmlintrc
new file mode 100644
index 0000000..d270add
--- /dev/null
+++ b/perl-Kwiki-Raw.rpmlintrc
@@ -0,0 +1 @@
+addFilter('spelling-error \(\'wikitext\'')

diff --git a/perl-Kwiki-Raw.spec b/perl-Kwiki-Raw.spec
index 9f1fb85..397574d 100644
--- a/perl-Kwiki-Raw.spec
+++ b/perl-Kwiki-Raw.spec
@@ -2,16 +2,16 @@ Name:           perl-Kwiki-Raw
 Version:        0.02
 Release:        61%{?dist}
 Summary:        Provide an action to retrieve the raw wikitext of a page
-# 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-Raw
 Source0:        https://cpan.metacpan.org/authors/id/C/CD/CDENT/Kwiki/Kwiki-Raw-%{version}.tar.gz
 Patch0:         Kwiki-Raw-0.02-Fix-building-on-Perl-without-dot-in-INC.patch
 BuildArch:      noarch
 # Build
-BuildRequires: make
-BuildRequires:  perl-interpreter
+BuildRequires:  coreutils
+BuildRequires:  make
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
 BuildRequires:  perl(Config)
 BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
@@ -41,15 +41,14 @@ Requires:       perl(Kwiki) >= 0.37
 Kwiki module that provides an action to retrieve the raw wikitext of a page.
 
 %prep
-%setup -q -n Kwiki-Raw-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n Kwiki-Raw-%{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
@@ -57,8 +56,9 @@ make test
 
 %files
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Kwiki
+%{perl_vendorlib}/Kwiki/Raw.pm
+%{_mandir}/man3/Kwiki::Raw.*
 
 %changelog
 * Tue Oct 13 2026 Petr Pisar <ppisar@redhat.com> - 0.02-61

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13 15:37 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:37 [rpms/perl-Kwiki-Raw] 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