public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-VMware-LabManager] rawhide: Modernize spec file and unbundle Module::Install
@ 2026-10-16 13:24
0 siblings, 0 replies; only message in thread
From: @ 2026-10-16 13:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-VMware-LabManager
Branch : rawhide
Commit : 82382d7cfe44429f44ac7318234a6027575e954a
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-16T15:18:40+02:00
Stats : +52/-38 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/perl-VMware-LabManager/c/82382d7cfe44429f44ac7318234a6027575e954a?branch=rawhide
Log:
Modernize spec file and unbundle Module::Install
---
diff --git a/VMware-LabManager-0.01-Do-not-install-dependencies-from-CPAN.patch b/VMware-LabManager-0.01-Do-not-install-dependencies-from-CPAN.patch
new file mode 100644
index 0000000..03cc7e5
--- /dev/null
+++ b/VMware-LabManager-0.01-Do-not-install-dependencies-from-CPAN.patch
@@ -0,0 +1,24 @@
+From 0c250f8a2d9f2b0e285ef795c69e6e1c19ddaa09 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Fri, 16 Oct 2026 14:53:39 +0200
+Subject: [PATCH] Do not install dependencies from CPAN
+
+---
+ Makefile.PL | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 9c5de2f..8c39054 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -7,7 +7,5 @@ license 'perl';
+
+ build_requires 'Test::More';
+
+-auto_install;
+-
+ WriteAll;
+
+--
+2.56.0
+
diff --git a/VMware-LabManager-0.01-Fix-building-on-Perl-without-dot-in-INC.patch b/VMware-LabManager-0.01-Fix-building-on-Perl-without-dot-in-INC.patch
deleted file mode 100644
index 33be0bf..0000000
--- a/VMware-LabManager-0.01-Fix-building-on-Perl-without-dot-in-INC.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -up VMware-LabManager-0.01/Makefile.PL.orig VMware-LabManager-0.01/Makefile.PL
---- VMware-LabManager-0.01/Makefile.PL.orig 2017-05-18 15:44:54.450138955 +0200
-+++ VMware-LabManager-0.01/Makefile.PL 2017-05-18 15:45:11.046074656 +0200
-@@ -1,3 +1,4 @@
-+BEGIN { push @INC, '.'; }
- use inc::Module::Install;
-
- name 'VMware-LabManager';
diff --git a/perl-VMware-LabManager.spec b/perl-VMware-LabManager.spec
index 54261e1..0330df0 100644
--- a/perl-VMware-LabManager.spec
+++ b/perl-VMware-LabManager.spec
@@ -1,37 +1,28 @@
Name: perl-VMware-LabManager
Version: 0.01
-Release: 41%{?dist}
+Release: 42%{?dist}
Summary: Perl module to provide basic VMware Lab Manager operations
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/VMware-LabManager
Source0: https://cpan.metacpan.org/authors/id/A/AI/AIVATURI/VMware-LabManager-%{version}.tar.gz
-Patch0: VMware-LabManager-0.01-Fix-building-on-Perl-without-dot-in-INC.patch
+Patch0: VMware-LabManager-0.01-Do-not-install-dependencies-from-CPAN.patch
BuildArch: noarch
-BuildRequires: make
-BuildRequires: perl-interpreter
+BuildRequires: coreutils
+BuildRequires: make
BuildRequires: perl-generators
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(strict)
-BuildRequires: perl(vars)
-# inc
-BuildRequires: perl(Carp)
-BuildRequires: perl(Config)
-BuildRequires: perl(CPAN)
-BuildRequires: perl(Cwd)
-BuildRequires: perl(ExtUtils::MM_Unix)
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(FindBin)
-# Runtime, SOAP::Lite is needed for the debug mode
+BuildRequires: perl-interpreter
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
+# Run-time:
+# SOAP::Lite is needed for the debug mode
BuildRequires: perl(SOAP::Lite)
+BuildRequires: perl(strict)
BuildRequires: perl(Time::HiRes)
-# Tests only
+# Tests only:
BuildRequires: perl(Test::More)
# Optional tests
BuildRequires: perl(Pod::Coverage) >= 0.18
-BuildRequires: perl(Test::CheckManifest) >= 0.9
BuildRequires: perl(Test::Pod) >= 1.22
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
# In evals, not autodetected
@@ -46,17 +37,20 @@ broader audience as it still does provide overall functionality that
might be required.
%prep
-%setup -q -n VMware-LabManager-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n VMware-LabManager-%{version}
+# Remove bundled modules
+rm -r inc
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
+# Remove always skipped tests
+rm t/manifest.t
+perl -i -ne 'print $_ unless m{^\Qt/manifest.t\E}' 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 PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{make_install}
%{_fixperms} %{buildroot}/*
%check
@@ -64,10 +58,14 @@ make test
%files
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/VMware
+%{perl_vendorlib}/VMware/LabManager.pm
+%{_mandir}/man3/VMware::LabManager.*
%changelog
+* Fri Oct 16 2026 Petr Pisar <ppisar@redhat.com> - 0.01-42
+- Correct dependencies
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.01-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-16 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 13:24 [rpms/perl-VMware-LabManager] rawhide: Modernize spec file and unbundle Module::Install
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox