diff --git a/nut.changes b/nut.changes index 309c106..e055663 100644 --- a/nut.changes +++ b/nut.changes @@ -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 diff --git a/nut.spec b/nut.spec index d855bda..f2de07c 100644 --- a/nut.spec +++ b/nut.spec @@ -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.