public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Math-Random-ISAAC] epel10.3: Improvements to the spec file
Date: Thu, 22 Oct 2026 21:41:05 GMT [thread overview]
Message-ID: <179270526597.1.4025114788716484289.rpms-perl-Math-Random-ISAAC-b81ddbd7ee98@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Math-Random-ISAAC
Branch : epel10.3
Commit : b81ddbd7ee98dbfefe64b6d35b6731c63e0e963d
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2023-10-20T22:01:15+02:00
Stats : +26/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Math-Random-ISAAC/c/b81ddbd7ee98dbfefe64b6d35b6731c63e0e963d?branch=epel10.3
Log:
Improvements to the spec file
---
diff --git a/perl-Math-Random-ISAAC.spec b/perl-Math-Random-ISAAC.spec
index b747797..06a4178 100644
--- a/perl-Math-Random-ISAAC.spec
+++ b/perl-Math-Random-ISAAC.spec
@@ -1,18 +1,28 @@
Name: perl-Math-Random-ISAAC
Version: 1.004
-Release: 37%{?dist}
+Release: 38%{?dist}
Summary: Perl interface to the ISAAC PRNG algorithm
License: MIT or GPL+ or Artistic
URL: https://metacpan.org/release/Math-Random-ISAAC
Source0: https://cpan.metacpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: make
+# build requirements
+BuildRequires: coreutils
+BuildRequires: make
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
+# runtime requirements
+BuildRequires: perl(Carp)
+BuildRequires: perl(integer)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# test requirements
BuildRequires: perl(Test::LeakTrace)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings)
+BuildRequires: perl(Test::Without::Module)
%{?perl_default_filter}
@@ -23,31 +33,34 @@ some seed information and produce seemingly random results as output.
%prep
%setup -q -n Math-Random-ISAAC-%{version}
-sed -i 's/\r//' examples/*.pl
+/usr/bin/perl -pi -e 's/\r//' examples/*.pl
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+%{make_build} test
%files
%doc Changes examples README
-%{!?_licensedir:%global license %%doc}
%license LICENSE
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Math*
+%{_mandir}/man3/Math*
%changelog
+* Fri Oct 20 2023 Emmanuel Seyman <emmanuel@seyman.fr> - 1.004-38
+- Reorder dependencies
+- Use perl instead of sed
+- Replace %%{__perl} with /usr/bin/perl
+- Pass NO_PERLLOCAL to Makefile.PL
+- Use %%{make_build} and %%{make_install} where appropriate
+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.004-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
reply other threads:[~2026-10-22 21:41 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=179270526597.1.4025114788716484289.rpms-perl-Math-Random-ISAAC-b81ddbd7ee98@fedoraproject.org \
--to=emmanuel@seyman.fr \
--cc=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