Accepting request 344286 from home:pluskalm:branches:hardware
- Update to 2.3.24 * Don't package /var/run/powerman; let systemd manage it [TOSS-2987] * Cleanup: drop trailing whitespace - Changes for 2.3.23 * Build: silence CC lines, fix AC_LANG_CONFTEST warnings, fix $(EXEEXT) warnings. * Build: install System V init scripts if --with-systemdsystemunitdir is not configured and include both in EXTRA_DIST. * Build: re-enable 'make check' unit tests. * Build: fix some 'make distcheck' issues, but until unit tests are fixed to find *.exp and *.conf files in $(srcdir), this will still fail. * RPM: configure genders, httppower, snmppower, and tcp-wrappers unconditionally; update URL. - Cleanups spec file with spec-cleaner - Drop powerman.service and use bundled one OBS-URL: https://build.opensuse.org/request/show/344286 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=27
This commit is contained in:
parent
814586525e
commit
1170c1133b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4b0858d1214aab18e2673596b00ac9bad976cb7b777209e10732467c3551b88
|
||||
size 620248
|
3
powerman-2.3.24.tar.gz
Normal file
3
powerman-2.3.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85d5d0e0aef05a1637a8efe58f436f1548d2411c98c90c1616d22ee79c19d275
|
||||
size 619601
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 13 18:40:43 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Update to 2.3.24
|
||||
* Don't package /var/run/powerman; let systemd manage it
|
||||
[TOSS-2987]
|
||||
* Cleanup: drop trailing whitespace
|
||||
- Changes for 2.3.23
|
||||
* Build: silence CC lines, fix AC_LANG_CONFTEST warnings, fix
|
||||
$(EXEEXT) warnings.
|
||||
* Build: install System V init scripts if
|
||||
--with-systemdsystemunitdir is not configured and include both
|
||||
in EXTRA_DIST.
|
||||
* Build: re-enable 'make check' unit tests.
|
||||
* Build: fix some 'make distcheck' issues, but until unit tests
|
||||
are fixed to find *.exp and *.conf files in $(srcdir), this will still fail.
|
||||
* RPM: configure genders, httppower, snmppower, and tcp-wrappers
|
||||
unconditionally; update URL.
|
||||
- Cleanups spec file with spec-cleaner
|
||||
- Drop powerman.service and use bundled one
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 09:45:27 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Powerman Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/powerman.pid
|
||||
ExecStart=/usr/sbin/powermand
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package powerman
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@ -15,21 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: powerman
|
||||
Version: 2.3.20
|
||||
Version: 2.3.24
|
||||
Release: 0
|
||||
Url: https://github.com/chaos/powerman
|
||||
Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.service
|
||||
Summary: Centralized Power Control for Clusters
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Clustering/HA
|
||||
BuildRequires: curl-devel
|
||||
Url: https://github.com/chaos/powerman
|
||||
Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: tcpd-devel
|
||||
#BuildRequires: genders
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -45,9 +45,9 @@ Group: System/Libraries
|
||||
A shared library for applications using PowerMan.
|
||||
|
||||
%package devel
|
||||
Requires: libpowerman0 = %{version}
|
||||
Summary: Headers and libraries for developing applications using PowerMan
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libpowerman0 = %{version}
|
||||
|
||||
%description devel
|
||||
A header file and static library for developing applications using PowerMan.
|
||||
@ -56,21 +56,18 @@ A header file and static library for developing applications using PowerMan.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# --with-genders
|
||||
%configure\
|
||||
%configure \
|
||||
--disable-static\
|
||||
--with-httppower
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf %{buildroot}%{_sysconfdir}/init.d
|
||||
install -Dm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
mv $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf
|
||||
#
|
||||
rm -r $RPM_BUILD_ROOT%{_libdir}/stonith
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
mv %{buildroot}%{_sysconfdir}/powerman/powerman.conf.example %{buildroot}%{_sysconfdir}/powerman/powerman.conf
|
||||
rm -r %{buildroot}%{_libdir}/stonith
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
@ -97,7 +94,7 @@ rm -r $RPM_BUILD_ROOT%{_libdir}/stonith
|
||||
%exclude %{_mandir}/man3/*.*
|
||||
%{_sbindir}/*
|
||||
%dir %{_sysconfdir}/powerman
|
||||
%{_unitdir}/%{name}.service
|
||||
%attr(0644,root,root) %{_unitdir}/%{name}.service
|
||||
%config %{_sysconfdir}/powerman/powerman.conf
|
||||
%{_sysconfdir}/powerman/*.dev
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user