SHA256
1
0
forked from pool/nut
OBS User unknown 2009-01-27 01:23:51 +00:00 committed by Git OBS Bridge
parent 6e5669224f
commit e09daba34d
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 27 00:37:47 CET 2009 - ro@suse.de
- pass --with-udev-dir to configure to fix build
(hal does not own /etc/udev anymore)
-------------------------------------------------------------------
Wed Dec 17 18:51:44 CET 2008 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package nut (Version 2.2.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +28,7 @@ Obsoletes: smartups
Conflicts: apcupsd
Summary: Network UPS Tools Core (Unbreakable Power Supply Monitoring)
Version: 2.2.2
Release: 65
Release: 66
Url: http://www.networkupstools.org/
Source: %{name}-%{version}.tar.bz2
Source1: upsd.init
@ -504,7 +504,8 @@ autoreconf -f -i
--with-statepath=%{STATEPATH}\
--with-drvpath=%{MODELPATH}\
--with-user=%{USER}\
--with-group=%{GROUP}
--with-group=%{GROUP} \
--with-udev-dir=/etc/udev
make %{?jobs:-j%jobs}
PORT=$(sed -n 's/#define PORT //p' config.log)
if test "$PORT" = 3493 ; then
@ -673,6 +674,8 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nut
%endif
%{_sysconfdir}/init.d/upsd
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
%{_sysconfdir}/udev/rules.d/*.rules
%files cgi
@ -696,6 +699,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man3/*.*
%changelog
* Tue Jan 27 2009 ro@suse.de
- pass --with-udev-dir to configure to fix build
(hal does not own /etc/udev anymore)
* Wed Dec 17 2008 sbrabec@suse.cz
- Fixed Suspend to Disc documentation (bnc#449861).
- Support Suspend to Disc in scriptlets.