rpms/itk/devel itk-3.4-soname.patch,NONE,1.1 itk.spec,1.10,1.11
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Sat Feb 9 18:18:32 UTC 2008
Author: wart
Update of /cvs/extras/rpms/itk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18399
Modified Files:
itk.spec
Added Files:
itk-3.4-soname.patch
Log Message:
- Rebuild for gcc 4.3
- Add patch for adding soname to shared library
itk-3.4-soname.patch:
--- NEW FILE itk-3.4-soname.patch ---
--- itk-20071231cvs/configure.orig 2008-02-09 10:12:28.000000000 -0800
+++ itk-20071231cvs/configure 2008-02-09 10:11:09.000000000 -0800
@@ -8397,7 +8397,7 @@
SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic -Wl,-soname,\${@}"
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
if test "`uname -m`" = "alpha" ; then
Index: itk.spec
===================================================================
RCS file: /cvs/extras/rpms/itk/devel/itk.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- itk.spec 12 Jan 2008 01:50:08 -0000 1.10
+++ itk.spec 9 Feb 2008 18:17:57 -0000 1.11
@@ -3,7 +3,7 @@
Name: itk
Version: 3.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Object oriented extensions to Tk
Group: Development/Libraries
@@ -14,6 +14,7 @@
Source0: itk-20071231cvs.tgz
Patch0: itk-3.4-libdir.patch
Patch1: itk-3.4-tclbindir.patch
+Patch2: itk-3.4-soname.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: tcl(abi) = 8.5 itcl tk
@@ -35,6 +36,7 @@
%setup -q -n itk-20071231cvs
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%configure
@@ -64,6 +66,10 @@
# What happened to itk's stub library and itkConfig.sh?
%changelog
+* Sat Feb 9 2008 Wart <wart at kobold.org> - 3.4-2
+- Rebuild for gcc 4.3
+- Add patch to add soname to library
+
* Fri Jan 11 2008 Wart <wart at kobold.org> - 3.4-1
- Update to latest CVS head for tcl 8.5 compatibility
More information about the fedora-extras-commits
mailing list