Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2017-02-05 15:50:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerman" Changes: -------- --- /work/SRC/openSUSE:Factory/powerman/powerman.changes 2015-11-17 14:23:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2017-02-05 16:24:33.176417280 +0100 @@ -1,0 +2,10 @@ +Wed Jan 4 18:16:09 UTC 2017 - [email protected] + +- Added support for snmp, tcpwrappers and genders to be compatible + with the powerman package from openHPC.community (latter one is + currently disabled). + To use tcpwrappers, they need to be enabled in /etc/powerman/powerman.conf + - the default is 'off'. +- Don't create /run/powerman - systemd will do this for us. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerman.spec ++++++ --- /var/tmp/diff_new_pack.aOQxVY/_old 2017-02-05 16:24:33.612355858 +0100 +++ /var/tmp/diff_new_pack.aOQxVY/_new 2017-02-05 16:24:33.612355858 +0100 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,11 @@ # +# +%define _with_snmppower 1 +%define _with_tcp_wrappers 1 +%undefine _with_genders + Name: powerman Version: 2.3.24 Release: 0 @@ -23,12 +28,18 @@ License: GPL-2.0+ Group: Productivity/Clustering/HA Url: https://github.com/chaos/powerman -Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/chaos/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: pkg-config BuildRequires: tcpd-devel BuildRequires: pkgconfig(libcurl) +%if 0%{?_with_snmppower} +BuildRequires: net-snmp-devel +%endif +%if 0%{?_with_genders} +BuildRequires: genders +%endif BuildRequires: pkgconfig(systemd) %{?systemd_requires} @@ -50,7 +61,7 @@ Requires: libpowerman0 = %{version} %description devel -A header file and static library for developing applications using PowerMan. +Header files, pkg-config file and man pages for developing applications using PowerMan. %prep %setup -q @@ -58,7 +69,11 @@ %build %configure \ --disable-static\ - --with-httppower + --with-httppower \ +%{?_with_snmppower:--with-snmppower} \ +%{?_with_genders:--with-genders} \ +%{?_with_tcp_wrappers:--with-tcp-wrappers} \ + make %{?_smp_mflags} %install @@ -89,7 +104,6 @@ %defattr(-,root,root) %doc AUTHORS DISCLAIMER COPYING NEWS README TODO %{_bindir}/* -%dir %attr(0755,daemon,root) %ghost /run/powerman %{_mandir}/man?/*.* %exclude %{_mandir}/man3/*.* %{_sbindir}/*
