[nut/epel7] build without powerman as it is not available in epel7

Michal Hlavinka mhlavink at fedoraproject.org
Wed Aug 27 07:53:00 UTC 2014


commit 097541dc32301eb8ba12cc406e10fadea9410bbd
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Wed Aug 27 09:52:57 2014 +0200

    build without powerman as it is not available in epel7

 nut.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index 293bbcb..0d27fdd 100644
--- a/nut.spec
+++ b/nut.spec
@@ -13,7 +13,7 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Applications/System
 License: GPLv2+ and GPLv3+
 Url: http://www.networkupstools.org/
@@ -56,7 +56,7 @@ BuildRequires: net-snmp-devel
 BuildRequires: netpbm-devel
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
-BuildRequires: powerman-devel
+#BuildRequires: powerman-devel
 BuildRequires: python-devel
 BuildRequires: desktop-file-utils
 BuildRequires: freeipmi-devel
@@ -148,6 +148,7 @@ find . -mtime -1 -print0 | xargs -0 touch --reference %{SOURCE0}
 autoreconf -i
 %configure \
     --with-all \
+    --without-powerman \
     --with-libltdl \
     --without-hal \
     --with-cgi \
@@ -347,7 +348,7 @@ rm -rf %{buildroot}
 %{_mandir}/man8/oneac.8.gz
 %{_mandir}/man8/optiups.8.gz
 %{_mandir}/man8/powercom.8.gz
-%{_mandir}/man8/powerman-pdu.8.gz
+#%{_mandir}/man8/powerman-pdu.8.gz
 %{_mandir}/man8/powerpanel.8.gz
 %{_mandir}/man8/rhino.8.gz
 %{_mandir}/man8/richcomm_usb.8.gz
@@ -434,6 +435,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libnutscan.pc
 
 %changelog
+* Tue Aug 26 2014 Michal Hlavinka <mhlavink at redhat.com> - 2.7.2-2
+- build without powerman as it is not available in epel7
+
 * Tue Apr 22 2014 Michal Hlavinka <mhlavink at redhat.com> - 2.7.2-1
 - nut updated to 2.7.2
 


More information about the scm-commits mailing list