public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Module-Install-TrustMetaYml] rawhide: Modernize a spec file
Date: Thu, 22 Oct 2026 09:53:53 GMT [thread overview]
Message-ID: <179266283383.1.12170214438662483574.rpms-perl-Module-Install-TrustMetaYml-8551a7d08728@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Module-Install-TrustMetaYml
Branch : rawhide
Commit : 8551a7d087286404079bfad645a9595d00c122e9
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-22T10:59:29+02:00
Stats : +17/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Module-Install-TrustMetaYml/c/8551a7d087286404079bfad645a9595d00c122e9?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-Module-Install-TrustMetaYml.spec b/perl-Module-Install-TrustMetaYml.spec
index 887336c..b1145da 100644
--- a/perl-Module-Install-TrustMetaYml.spec
+++ b/perl-Module-Install-TrustMetaYml.spec
@@ -1,21 +1,19 @@
Name: perl-Module-Install-TrustMetaYml
Version: 0.003
-Release: 29%{?dist}
+Release: 30%{?dist}
Summary: Trusts META.yml list of dependencies
-# HACKING: CC-BY-SA
-# other files: GPL+ Artistic
-# Automatically converted from old format: (GPL+ or Artistic) and CC-BY-SA - review is highly recommended.
-License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Callaway-CC-BY-SA
+# HACKING: CC-BY-SA-2.0-UK
+# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
+License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC-BY-SA-2.0-UK
URL: https://metacpan.org/release/Module-Install-TrustMetaYml
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Module-Install-TrustMetaYml-%{version}.tar.gz
# To boostrap this package without bundling
Patch0: Module-Install-TrustMetaYml-0.003-Build-without-bundled-Module-Package-modules.patch
BuildArch: noarch
BuildRequires: coreutils
-BuildRequires: findutils
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(inc::Module::Package)
# Run-time:
BuildRequires: perl(base)
@@ -32,19 +30,17 @@ passing through the dependencies from META.yml. It does nothing when run from
the module author's development copy.
%prep
-%setup -q -n Module-Install-TrustMetaYml-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n Module-Install-TrustMetaYml-%{version}
# Remove bundled modules
rm -rf ./inc
-sed -i -e '/^inc\//d' MANIFEST
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
%build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -53,10 +49,15 @@ make test
%files
%license LICENSE
%doc Changes COPYRIGHT CREDITS HACKING README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Module
+%dir %{perl_vendorlib}/Module/Install
+%{perl_vendorlib}/Module/Install/TrustMetaYml.pm
+%{_mandir}/man3/Module::Install::TrustMetaYml.*
%changelog
+* Thu Oct 22 2026 Petr Pisar <ppisar@redhat.com> - 0.003-30
+- Modernize a spec file
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-10-22 9:53 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=179266283383.1.12170214438662483574.rpms-perl-Module-Install-TrustMetaYml-8551a7d08728@fedoraproject.org \
--to=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