rpms/nut/devel nut-2.2.0-wrongssl.patch, NONE, 1.1 nut.spec, 1.47, 1.48

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Wed Sep 19 06:48:31 UTC 2007


Author: tsmetana

Update of /cvs/pkgs/rpms/nut/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13234

Modified Files:
	nut.spec 
Added Files:
	nut-2.2.0-wrongssl.patch 
Log Message:
* Thu Sep 06 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-3
- fix wrong libssl flags in devel, fix devel package dependencies


nut-2.2.0-wrongssl.patch:

--- NEW FILE nut-2.2.0-wrongssl.patch ---
--- nut-2.2.0/lib/libupsclient-config.in.wrongssl	2007-09-06 11:10:06.000000000 +0200
+++ nut-2.2.0/lib/libupsclient-config.in	2007-09-06 11:13:06.000000000 +0200
@@ -10,7 +10,7 @@
 Version="@PACKAGE_VERSION@"
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-Cflags="-I at includedir@ @SSL_CFLAGS@"
+Cflags="-I at includedir@ @LIBSSL_CFLAGS@"
 
 arch=$(/bin/arch)
 if [ "$arch" = "x86_64" -o "$arch" = "s390x" -o "$arch" = "ppc64" -o "$arch" = "ia64" ] ; then
@@ -18,7 +18,7 @@
 else
 	libdir="/usr/lib"
 fi
-Libs="-L$libdir @UPSCLI_LIBOBJ@ @SSL_LDFLAGS@"
+Libs="-L$libdir @UPSCLI_LIBOBJ@ @LIBSSL_LDFLAGS@"
 
 
 case "$1" in
--- nut-2.2.0/lib/libupsclient.pc.in.wrongssl	2007-09-06 11:08:09.000000000 +0200
+++ nut-2.2.0/lib/libupsclient.pc.in	2007-09-06 11:08:30.000000000 +0200
@@ -9,5 +9,5 @@
 Name: libupsclient
 Description: UPS monitoring with Network UPS Tools
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lupsclient @SSL_LDFLAGS@
-Cflags: -I${includedir} @SSL_CFLAGS@
+Libs: -L${libdir} -lupsclient @LIBSSL_LDFLAGS@
+Cflags: -I${includedir} @LIBSSL_CFLAGS@


Index: nut.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nut/devel/nut.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- nut.spec	16 Aug 2007 10:31:13 -0000	1.47
+++ nut.spec	19 Sep 2007 06:47:58 -0000	1.48
@@ -9,12 +9,12 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/System
 License: GPLv2+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Url: http://www.networkupstools.org/
-Source: http://www.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz
+Source: http://www.networkupstools.org/source/2.2/%{name}-%{version}.tar.gz
 Source1: ups.init
 Source2: ups.sysconfig
 
@@ -22,6 +22,7 @@
 Patch1: nut-2.2.0-multilib.patch
 Patch2: nut-2.2.0-udevusb.patch
 Patch3: nut-2.2.0-glibcopen.patch
+Patch4: nut-2.2.0-wrongssl.patch
 
 Requires: nut-client => 2.0.0 hal dbus-glib
 Requires(post): fileutils /sbin/chkconfig /sbin/service
@@ -78,7 +79,7 @@
 %package devel
 Group: Development/Libraries
 Summary: Development files for NUT Client
-Requires: %{name}-client = %{version}-%{release} webserver
+Requires: %{name}-client = %{version}-%{release} webserver openssl-devel
 
 %description devel
 This package contains the development header files and libraries
@@ -90,6 +91,7 @@
 %patch1 -p1 -b .multilib
 %patch2 -p1 -b .udevusb
 %patch3 -p1 -b .open
+%patch4 -p1 -b .wrongssl
 
 %build
 %configure \
@@ -277,6 +279,9 @@
 %{_libdir}/pkgconfig/libupsclient.pc
 
 %changelog
+* Thu Sep 06 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-3
+- fix wrong libssl flags in devel, fix devel package dependencies
+
 * Wed Aug 15 2007 Tomas Smetana <tsmetana at redhat.com> 2.2.0-2
 - fix #249028 - usb udev rules
 - update initscript and sysconfig file




More information about the scm-commits mailing list