public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-SVK] rawhide: Modernize a spec file
@ 2026-10-15 16:18
0 siblings, 0 replies; only message in thread
From: @ 2026-10-15 16:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-SVK
Branch : rawhide
Commit : aea90d9971cb84b6982b3ab8e64e30fc968f825b
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-15T17:09:46+02:00
Stats : +11/-11 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-SVK/c/aea90d9971cb84b6982b3ab8e64e30fc968f825b?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-SVK.rpmlintrc b/perl-SVK.rpmlintrc
index c6c8fe1..2883ec4 100644
--- a/perl-SVK.rpmlintrc
+++ b/perl-SVK.rpmlintrc
@@ -1,2 +1 @@
-from Config import *
-addFilter("spelling-error .* svn");
+addFilter('spelling-error .* svn')
diff --git a/perl-SVK.spec b/perl-SVK.spec
index 868d223..25e3b54 100644
--- a/perl-SVK.spec
+++ b/perl-SVK.spec
@@ -19,6 +19,7 @@ Patch0: SVK-v2.2.3-Fix-building-on-Perl-without-dot-in-INC.patch
# Fix subversion version check, CPAN RT#125150
Patch1: SVK-v2.2.3-Fix-SVN-Core-version-check.patch
BuildArch: noarch
+BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
@@ -81,16 +82,14 @@ the Subversion file system but provides additional features:
For more information about the SVK project, visit http://svk.elixus.org/.
%prep
-%setup -q -n SVK-v%{version}
-%patch -P0 -p1
-%patch -P1 -p1
+%autosetup -p1 -n SVK-v%{version}
%build
-perl Makefile.PL --skipdeps NO_PACKLIST=1 INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL --skipdeps NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -102,9 +101,11 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT
%files
%license ARTISTIC COPYING
%doc CHANGES CHANGES-1.0 COMMITTERS README
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/SVK
+%{perl_vendorlib}/SVK.pm
+%{_mandir}/man1/svk.*
+%{_mandir}/man3/SVK.*
+%{_mandir}/man3/SVK::*
%{_bindir}/svk
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-15 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 16:18 [rpms/perl-SVK] 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