public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Crypt-SmbHash] epel10: Fix FTBFS and tidy up
Date: Fri, 09 Oct 2026 08:30:15 GMT	[thread overview]
Message-ID: <179153461535.1.4591632311209869103.rpms-perl-Crypt-SmbHash-fb400644d9de@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Crypt-SmbHash
            Branch : epel10
            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

            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
 

                 reply	other threads:[~2026-10-09  8:30 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=179153461535.1.4591632311209869103.rpms-perl-Crypt-SmbHash-fb400644d9de@fedoraproject.org \
    --to=paul@city-fan.org \
    --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