rpms/nut/EL-4 nut.spec,1.48,1.49

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Wed Sep 19 11:07:50 UTC 2007


Author: tsmetana

Update of /cvs/pkgs/rpms/nut/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20084

Modified Files:
	nut.spec 
Log Message:
* Wed Sep 19 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-3.2
- fix building of cgi package on x86_64



Index: nut.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nut/EL-4/nut.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- nut.spec	19 Sep 2007 07:50:56 -0000	1.48
+++ nut.spec	19 Sep 2007 11:07:11 -0000	1.49
@@ -9,7 +9,7 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.2.0
-Release: 3.1%{?dist}
+Release: 3.2%{?dist}
 Group: Applications/System
 License: GPLv2+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -38,7 +38,6 @@
 BuildRequires: libjpeg-devel
 BuildRequires: fontconfig-devel
 BuildRequires: pkgconfig
-BuildRequires: libusb-devel
 BuildRequires: openssl-devel
 
 %ifnarch s390 s390x
@@ -110,6 +109,9 @@
     --with-linux-hiddev=%{_includedir}/linux/hiddev.h \
     --with-pkgconfig-dir=%{_libdir}/pkgconfig \
     --disable-static
+%ifarch x86_64
+    --with-gd-libs="-L/usr/X11R6/lib64 -lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11"
+%endif
 
 make %{?_smp_mflags}
 
@@ -292,6 +294,9 @@
 %{_libdir}/pkgconfig/libupsclient.pc
 
 %changelog
+* Wed Sep 19 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-3.2
+- fix building of cgi package on x86_64
+
 * Wed Sep 19 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-3.1
 - fix manpages encodings
 - run ldconfig after client (un)install




More information about the fedora-extras-commits mailing list