public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Crypt-SmbHash] epel10.3: Spec file clean-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 : 491ded451a03f624893638b5a354af3ff372920a
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2012-01-11T10:32:08+00:00
            Stats  : +26/-20 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Crypt-SmbHash/c/491ded451a03f624893638b5a354af3ff372920a?branch=epel10.3

            Log:
            Spec file clean-up

- Nobody else likes macros for commands
- BR: perl(Carp)

---
diff --git a/perl-Crypt-SmbHash.spec b/perl-Crypt-SmbHash.spec
index e263c9a..b68a637 100644
--- a/perl-Crypt-SmbHash.spec
+++ b/perl-Crypt-SmbHash.spec
@@ -1,16 +1,18 @@
 Summary:	Pure-perl Lanman and NT MD4 hash functions
 Name:		perl-Crypt-SmbHash
 Version:	0.12
-Release:	15%{?dist}
+Release:	16%{?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
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildRequires:	perl(Digest::MD4), perl(ExtUtils::MakeMaker)
-Requires:	perl(Digest::MD4)
 BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Digest::MD4)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Digest::MD4)
 
 %description
 This module generates Lanman and NT MD4 style password hashes, using perl-only
@@ -21,21 +23,21 @@ systems.
 %setup -q -n Crypt-SmbHash-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
-
-%check
-%{__make} test
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
-/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
-%{__chmod} -R u+w %{buildroot}
+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
+make test
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -44,14 +46,18 @@ systems.
 %{_mandir}/man3/Crypt::SmbHash.3pm*
 
 %changelog
-* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.12-15
+* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> 0.12-16
+- Nobody else likes macros for commands
+- BR: perl(Carp)
+
+* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.12-15
 - Perl mass rebuild
 
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-14
+* Tue Feb  8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 0.12-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-13
-- 661697 rebuild for fixing problems with vendorach/lib
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> 0.12-13
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> 0.12-12
 - Mass rebuild with perl 5.12.0

^ 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: Spec file clean-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