public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Parse-DMIDecode] rawhide: Modernize a spec file
@ 2026-10-14 15:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-14 15:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Parse-DMIDecode
Branch : rawhide
Commit : b644ef5e34a527216db4799008185e0f9817348c
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-14T17:28:58+02:00
Stats  : +7/-7 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Parse-DMIDecode/c/b644ef5e34a527216db4799008185e0f9817348c?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Parse-DMIDecode.rpmlintrc b/perl-Parse-DMIDecode.rpmlintrc
index 47b1fc0..ed1fb6e 100644
--- a/perl-Parse-DMIDecode.rpmlintrc
+++ b/perl-Parse-DMIDecode.rpmlintrc
@@ -1,3 +1,2 @@
-from Config import *
 # Full arch because of dmidecode not available everywhere
-addFilter("perl-Parse-DMIDecode.*: E: no-binary");
+addFilter('perl-Parse-DMIDecode.*: E: no-binary')

diff --git a/perl-Parse-DMIDecode.spec b/perl-Parse-DMIDecode.spec
index 15fa17f..bbee7b7 100644
--- a/perl-Parse-DMIDecode.spec
+++ b/perl-Parse-DMIDecode.spec
@@ -5,7 +5,6 @@ Name:           perl-Parse-DMIDecode
 Version:        0.03
 Release:        44%{?dist}
 Summary:        Interface to SMBIOS using dmidecode
-# Automatically converted from old format: ASL 2.0 - review is highly recommended.
 License:        Apache-2.0
 URL:            https://metacpan.org/release/Parse-DMIDecode
 Source0:        https://cpan.metacpan.org/modules/by-module/Parse/Parse-DMIDecode-%{version}.tar.gz
@@ -65,12 +64,11 @@ perl -i -ne 'print $_ unless m{^t/1[01]pod}' MANIFEST
 %endif
 
 %build
-AUTOMATED_TESTING=1 %{__perl} Build.PL installdirs=vendor
+AUTOMATED_TESTING=1 perl Build.PL installdirs=vendor
 ./Build
 
 %install
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -80,8 +78,11 @@ unset DEBUG
 %files
 %license LICENSE
 %doc Changes NOTICE README TODO examples
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Parse
+%{perl_vendorlib}/Parse/DMIDecode
+%{perl_vendorlib}/Parse/DMIDecode.pm
+%{_mandir}/man3/Parse::DMIDecode.*
+%{_mandir}/man3/Parse::DMIDecode::*
 
 %changelog
 * Wed Oct 14 2026 Petr Pisar <ppisar@redhat.com> - 0.03-44

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

only message in thread, other threads:[~2026-10-14 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 15:29 [rpms/perl-Parse-DMIDecode] rawhide: Modernize a spec file 

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