SHA256
1
0
forked from pool/nut
OBS User unknown 2007-10-23 23:41:52 +00:00 committed by Git OBS Bridge
parent 124f4eaa72
commit c27c0ddab0
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 23 17:46:28 CEST 2007 - sbrabec@suse.cz
- Renamed web pages to prevent conflicts.
-------------------------------------------------------------------
Mon Oct 22 17:39:41 CEST 2007 - sbrabec@suse.cz

View File

@ -22,7 +22,7 @@ Conflicts: apcupsd
AutoReqProv: on
Summary: UPS Monitoring Software
Version: 2.2.0
Release: 28
Release: 30
Url: http://www.networkupstools.org/
Source: %{name}-%{version}.tar.bz2
Source1: upsd.init
@ -184,6 +184,11 @@ rename .sample "" $RPM_BUILD_ROOT%{_sysconfdir}/ups/*.sample
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
cp nut.firewall $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nut
%endif
# Rename web pages to not conflict with apache2-example-pages or user home page:
mv $RPM_BUILD_ROOT%{HTMLPATH}/index.html $RPM_BUILD_ROOT%{HTMLPATH}/ups.html
mv $RPM_BUILD_ROOT%{HTMLPATH}/header.html $RPM_BUILD_ROOT%{HTMLPATH}/ups_header.html
mv $RPM_BUILD_ROOT%{HTMLPATH}/bottom.html $RPM_BUILD_ROOT%{HTMLPATH}/ups_bottom.html
sed -i 's/\(header\|bottom\)/ups_&/g' $RPM_BUILD_ROOT%{HTMLPATH}/ups.html
%pre
usr/sbin/useradd -r -o -g %{GROUP} -s /bin/false \
@ -282,6 +287,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc
%doc %{_mandir}/man3/*.*
%changelog
* Tue Oct 23 2007 - sbrabec@suse.cz
- Renamed web pages to prevent conflicts.
* Mon Oct 22 2007 - sbrabec@suse.cz
- Fixed udev USB rules for current kernels (#331749).
- Added SuSEfirewall2 rule and fixed documentation (#335466).