rpms/libwiimote/devel libwiimote-0.4-soname.patch, NONE, 1.1 libwiimote.spec, 1.2, 1.3

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Mon Jan 7 23:33:19 UTC 2008


Author: ajax

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

Modified Files:
	libwiimote.spec 
Added Files:
	libwiimote-0.4-soname.patch 
Log Message:
* Mon Jan 07 2008 Adam Jackson <ajax at redhat.com> 0.4-4
- libwiimote-0.4-soname.patch: Set DT_SONAME correctly.


libwiimote-0.4-soname.patch:

--- NEW FILE libwiimote-0.4-soname.patch ---
diff -up libwiimote-0.4/src/Makefile.in.jx libwiimote-0.4/src/Makefile.in
--- libwiimote-0.4/src/Makefile.in.jx	2007-03-10 09:46:36.000000000 -0500
+++ libwiimote-0.4/src/Makefile.in	2008-01-07 18:27:23.000000000 -0500
@@ -33,7 +33,7 @@ SOURCES = wiimote_link.c \
 all: libcwiimote.a libcwiimote.so
 
 libcwiimote.so: $(SOURCES) $(HEADERS)
-	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -shared -o $@  $(LIBS)
+	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -shared -o $@  $(LIBS) -Wl,-soname,libcwiimote.so.0
 	@cp $@ $(LIBDIR)
 
 libcwiimote.a: $(SOURCES) $(HEADERS)


Index: libwiimote.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libwiimote/devel/libwiimote.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libwiimote.spec	21 Dec 2007 16:32:15 -0000	1.2
+++ libwiimote.spec	7 Jan 2008 23:32:47 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           libwiimote
 Version:        0.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple Wiimote Library for Linux
 
 Group:          System Environment/Libraries
@@ -12,6 +12,7 @@
 Patch0:		libwiimote-0.4-fpic.patch
 Patch1:		libwiimote-0.4-includedir.patch
 Patch2:		libwiimote-0.4-dso-symlinks.patch
+Patch3:		libwiimote-0.4-soname.patch
 
 BuildRequires:  autoconf
 BuildRequires:  bluez-libs-devel
@@ -36,6 +37,7 @@
 %patch0 -p1 -b .fpic
 %patch1 -p1 -b .includedir
 %patch2 -p1 -b .dso-symlinks
+%patch3 -p1 -b .soname
 
 %build
 autoconf
@@ -68,6 +70,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Mon Jan 07 2008 Adam Jackson <ajax at redhat.com> 0.4-4
+- libwiimote-0.4-soname.patch: Set DT_SONAME correctly.
+
 * Fri Dec 21 2007 Adam Jackson <ajax at redhat.com> 0.4-3
 - Cosmetic and license fixes from review bug.
 




More information about the fedora-extras-commits mailing list