public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Crypt-SmbHash] epel10.3: Fix FTBFS and tidy up
@ 2026-10-09  8:38 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-09  8:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Crypt-SmbHash
            Branch : epel10.3
            Commit : fb400644d9debf651f79faa3f74729cd593ff638
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2015-10-14T11:22:43+01:00
            Stats  : +22/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Crypt-SmbHash/c/fb400644d9debf651f79faa3f74729cd593ff638?branch=epel10.3

            Log:
            Fix FTBFS and tidy up

- Classify buildreqs by usage
- Drop %defattr, redundant since rpm 4.4
- Don't need to remove empty directories from the buildroot

---
diff --git a/perl-Crypt-SmbHash.spec b/perl-Crypt-SmbHash.spec
index 47045bb..2c7d046 100644
--- a/perl-Crypt-SmbHash.spec
+++ b/perl-Crypt-SmbHash.spec
@@ -1,18 +1,32 @@
 Summary:	Pure-perl Lanman and NT MD4 hash functions
 Name:		perl-Crypt-SmbHash
 Version:	0.12
-Release:	25%{?dist}
+Release:	26%{?dist}
 License:	GPLv2+
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-SmbHash/
 Source0:	http://search.cpan.org/CPAN/authors/id/B/BJ/BJKUIT/Crypt-SmbHash-%{version}.tar.gz
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# Module Build
+BuildRequires:	coreutils
+BuildRequires:	findutils
+BuildRequires:	make
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module Runtime
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Digest::MD4)
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Encode)
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(vars)
+# Test Suite
+BuildRequires:	perl(Test)
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Digest::MD4)
+Requires:	perl(Encode)
 
 %description
 This module generates Lanman and NT MD4 style password hashes, using perl-only
@@ -30,7 +44,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -40,12 +53,16 @@ make test
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/Crypt/
-%{_mandir}/man3/Crypt::SmbHash.3pm*
+%{_mandir}/man3/Crypt::SmbHash.3*
 
 %changelog
+* Wed Oct 14 2015 Paul Howarth <paul@city-fan.org> - 0.12-26
+- Classify buildreqs by usage
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-25
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-10-09  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09  8:38 [rpms/perl-Crypt-SmbHash] epel10.3: Fix FTBFS and tidy up Paul Howarth

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