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

A new commit has been pushed.

Repo   : rpms/perl-WWW-OrangeHRM-Client
Branch : rawhide
Commit : 42f8f5e4a7e0c597ab6de97f8a60fe5c4cc1d975
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-29T17:26:30+01:00
Stats  : +8/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-WWW-OrangeHRM-Client/c/42f8f5e4a7e0c597ab6de97f8a60fe5c4cc1d975?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-WWW-OrangeHRM-Client.spec b/perl-WWW-OrangeHRM-Client.spec
index 826fe44..4f7c712 100644
--- a/perl-WWW-OrangeHRM-Client.spec
+++ b/perl-WWW-OrangeHRM-Client.spec
@@ -10,6 +10,7 @@ Source1:        %{url}%{tarname}-v%{version}.tar.gz.asc.2
 # Exported from owner's keyring
 Source2:        keyring-1B1BC73B4796EE25B9CA42D20EEFCA8895F65.pgp
 BuildArch:      noarch
+BuildRequires:  coreutils
 BuildRequires:  make
 BuildRequires:  openpgpverify
 BuildRequires:  perl-generators
@@ -48,15 +49,18 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
 make test
 
 %files
 %license COPYING
 %doc Changes
-%{_bindir}/*
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%{_bindir}/orangehrm
+%dir %{perl_vendorlib}/WWW
+%dir %{perl_vendorlib}/WWW/OrangeHRM
+%{perl_vendorlib}/WWW/OrangeHRM/Client.pm
+%{_mandir}/man1/orangehrm.1*
+%{_mandir}/man3/WWW::OrangeHRM::Client.3pm*
 
 %changelog
 * Thu Oct 29 2026 Petr Pisar <ppisar@redhat.com> - 0.12.0-21

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

only message in thread, other threads:[~2026-10-29 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29 16:27 [rpms/perl-WWW-OrangeHRM-Client] 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