public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Digest-SHA3] epel8: Initial import (#1134343).
@ 2026-06-15 13:37 David Dick
  0 siblings, 0 replies; only message in thread
From: David Dick @ 2026-06-15 13:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Digest-SHA3
Branch : epel8
Commit : 7a2241946cb2d2c9e662838523a805b0f4ef6749
Author : David Dick <ddick@cpan.org>
Date   : 2014-09-30T06:28:45+10:00
Stats  : +75/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Digest-SHA3/c/7a2241946cb2d2c9e662838523a805b0f4ef6749?branch=epel8

Log:
Initial import (#1134343).

---
diff --git a/.gitignore b/.gitignore
index e69de29..fc91d08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Digest-SHA3-0.22.tar.gz

diff --git a/perl-Digest-SHA3.spec b/perl-Digest-SHA3.spec
new file mode 100644
index 0000000..be42348
--- /dev/null
+++ b/perl-Digest-SHA3.spec
@@ -0,0 +1,73 @@
+Name:           perl-Digest-SHA3
+Version:        0.22
+Release:        1%{?dist}
+Summary:        Perl extension for SHA-3
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Digest-SHA3/
+Source0:        http://www.cpan.org/modules/by-module/Digest/Digest-SHA3-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Digest::base)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(Getopt::Std)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Digest::SHA3 is written in C for speed. If your platform lacks a C
+compiler, perhaps you can find the module in a binary form compatible with
+your particular processor and operating system.
+
+%prep
+%setup -q -n Digest-SHA3-%{version}
+sed -i 's|#!.*perl|#!/usr/bin/perl|' examples/dups3
+chmod -c -x examples/dups3
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README examples
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Digest*
+%{_mandir}/man3/*
+
+%package -n sha3sum
+Summary:        Compute and check SHA3 message digest
+BuildArch:      noarch
+Requires:       perl(Digest::SHA3)
+
+%description -n sha3sum
+This script will compute and check the SHA3 message digest of a file
+
+%files -n sha3sum
+%doc README
+%{_mandir}/man1/*
+%{_bindir}/*
+
+%changelog
+* Wed Aug 27 2014 David Dick <ddick@cpan.org> - 0.22-1
+- Initial release

diff --git a/sources b/sources
index e69de29..f6e3c3c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd99a53c6950b6845cda7e6b929b25d5  Digest-SHA3-0.22.tar.gz

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

only message in thread, other threads:[~2026-06-15 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 13:37 [rpms/perl-Digest-SHA3] epel8: Initial import (#1134343) David Dick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox