This commit is contained in:
parent
33c0693eda
commit
7d5f26cc4e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 14:58:20 CEST 2008 - sbrabec@suse.cz
|
||||
|
||||
- Fixed PreReq, useradd must be installed for %pre (bnc#429557).
|
||||
- Sync permissions in scriptlets and file list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 15:56:12 CEST 2008 - sbrabec@suse.cz
|
||||
|
||||
|
20
nut.spec
20
nut.spec
@ -2,9 +2,16 @@
|
||||
# spec file for package nut (Version 2.2.2)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
@ -21,7 +28,7 @@ Obsoletes: smartups
|
||||
Conflicts: apcupsd
|
||||
Summary: Network UPS Tools Core (Unbreakable Power Supply Monitoring)
|
||||
Version: 2.2.2
|
||||
Release: 9
|
||||
Release: 63
|
||||
Url: http://www.networkupstools.org/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: upsd.init
|
||||
@ -39,7 +46,7 @@ Patch8: nut-libtool.patch
|
||||
Patch11: nut-intptr.patch
|
||||
Patch12: nut-hal.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: /bin/chown
|
||||
PreReq: pwdutils /bin/chown
|
||||
Requires: nut-package = %{version}
|
||||
%define apache_serverroot %(%{_sbindir}/apxs2 -q datadir 2>/dev/null || %{_sbindir}/apxs -q PREFIX)
|
||||
%define CGIPATH %{apache_serverroot}/cgi-bin
|
||||
@ -530,7 +537,7 @@ usr/sbin/useradd -r -o -g %{GROUP} -s /bin/false \
|
||||
|
||||
%post
|
||||
# Be sure that all files are owned by a dedicated user.
|
||||
bin/chown -R %{USER}:root %{STATEPATH}
|
||||
bin/chown -R %{USER}:%{GROUP} %{STATEPATH}
|
||||
|
||||
%post -n libupsclient1 -p /sbin/ldconfig
|
||||
|
||||
@ -657,6 +664,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man3/*.*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 26 2008 sbrabec@suse.cz
|
||||
- Fixed PreReq, useradd must be installed for %%pre (bnc#429557).
|
||||
- Sync permissions in scriptlets and file list.
|
||||
* Wed May 28 2008 sbrabec@suse.cz
|
||||
- nut-cgi: Fixed and documented URLs (bnc#354388#c10).
|
||||
- README.SUSE: Fixed name of the most common USB HID driver.
|
||||
|
Loading…
x
Reference in New Issue
Block a user