[Bug 1171205] Review Request: perl-Monitoring-Plugin - Family of modules to streamline writing plugins for various monitoring systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1171205



--- Comment #6 from Jose Pedro Oliveira <jose.p.oliveira.oss@xxxxxxxxx> ---
Hi,

Would it also be possible to have this package branched and built for EPEL6 and
EPEL7? A new version of the nagios plugin check-updates is already using this
perl module instead of Nagios::Plugin .

Regards,
jpo


Specfiles changes needed to build the package in EPEL and older versions of
Fedora:
--- perl-Monitoring-Plugin.spec.orig    2015-02-15 00:01:23.000000000 +0100
+++ perl-Monitoring-Plugin.spec    2015-02-16 23:23:42.433089536 +0100
@@ -10,7 +10,7 @@
 BuildRequires:  perl
 BuildRequires:  perl(Config)
 BuildRequires:  perl(Cwd)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::MM_Unix)
 BuildRequires:  perl(Fcntl)
 BuildRequires:  perl(File::Find)
@@ -50,11 +50,12 @@
 %setup -q -n Monitoring-Plugin-%{version}

 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}

 %install
 make pure_install DESTDIR=%{buildroot}
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}/*

 %check

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]