This commit is contained in:
parent
e09daba34d
commit
b41fadbea4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 28 15:51:40 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- remove static libraries and "la" files
|
||||
- add missing openssl-devel to Requires of -devel package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 27 00:37:47 CET 2009 - ro@suse.de
|
||||
|
||||
|
11
nut.spec
11
nut.spec
@ -28,7 +28,7 @@ Obsoletes: smartups
|
||||
Conflicts: apcupsd
|
||||
Summary: Network UPS Tools Core (Unbreakable Power Supply Monitoring)
|
||||
Version: 2.2.2
|
||||
Release: 66
|
||||
Release: 68
|
||||
Url: http://www.networkupstools.org/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: upsd.init
|
||||
@ -422,7 +422,7 @@ Authors:
|
||||
License: GPL v2 or later
|
||||
Summary: Network UPS Tools (Unbreakable Power Supply Monitoring)
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name} = %{version} openssl-devel
|
||||
|
||||
%description devel
|
||||
Network UPS Tools is a collection of programs which provide a common
|
||||
@ -493,7 +493,7 @@ sed -i s:/usr/local/ups/bin:/bin: conf/upssched.conf.sample.in
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure\
|
||||
%configure --disable-static --with-pic\
|
||||
--sysconfdir=%{CONFPATH}\
|
||||
--datadir=%{_datadir}/nut\
|
||||
--with-all\
|
||||
@ -544,6 +544,7 @@ mv $RPM_BUILD_ROOT%{_bindir}/upssched-cmd $RPM_BUILD_ROOT/bin/upssched-cmd
|
||||
mkdir $RPM_BUILD_ROOT%{HTMLPATH}/nut $RPM_BUILD_ROOT%{CGIPATH}/nut
|
||||
mv $RPM_BUILD_ROOT%{HTMLPATH}/*.{html,png} $RPM_BUILD_ROOT%{HTMLPATH}/nut/
|
||||
mv $RPM_BUILD_ROOT%{CGIPATH}/*.cgi $RPM_BUILD_ROOT%{CGIPATH}/nut
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%pre
|
||||
usr/sbin/useradd -r -o -g %{GROUP} -s /bin/false \
|
||||
@ -694,11 +695,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.*a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%doc %{_mandir}/man3/*.*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 28 2009 crrodriguez@suse.de
|
||||
- remove static libraries and "la" files
|
||||
- add missing openssl-devel to Requires of -devel package
|
||||
* Tue Jan 27 2009 ro@suse.de
|
||||
- pass --with-udev-dir to configure to fix build
|
||||
(hal does not own /etc/udev anymore)
|
||||
|
Loading…
x
Reference in New Issue
Block a user