rpms/tix/devel tix.spec,1.24,1.25

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Feb 6 15:59:46 UTC 2008


Author: spot

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

Modified Files:
	tix.spec 
Log Message:

Make an ld.so.conf.d entry for tix, since it decided to put its libraries outside of %{_libdir}.



Index: tix.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tix/devel/tix.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- tix.spec	17 Jan 2008 15:37:47 -0000	1.24
+++ tix.spec	6 Feb 2008 15:59:12 -0000	1.25
@@ -18,6 +18,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: tcl(abi) = 8.5
 Requires: tcl >= %{tcltkver}, tk >= %{tcltkver}
+Requires: /etc/ld.so.conf.d
 Buildrequires: tcl-devel >= %{tcltkver}, tk-devel >= %{tcltkver}
 BuildRequires: libX11-devel
 
@@ -87,6 +88,10 @@
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/mann
 cp man/*.n $RPM_BUILD_ROOT%{_mandir}/mann
 
+# Handle unique library path (so apps can actually find the library)
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
+echo "%{tcl_sitearch}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/tix-%{_arch}.conf
+
 # ship docs except pdf
 rm -rf docs/pdf
 find docs -name .cvsignore -exec rm '{}' ';'
@@ -106,6 +111,7 @@
 %defattr(-,root,root,-)
 %{tcl_sitearch}/libTix.so
 %{tcl_sitearch}/Tix%{version}
+%{_sysconfdir}/ld.so.conf.d/*
 %doc *.txt *.html license.terms
 
 %files devel
@@ -121,6 +127,11 @@
 %doc %{tcl_sitelib}/Tix%{tixmajor}
 
 %changelog
+* Wed Feb  6 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1:8.4.2-5
+- apps can't find libTix.so without an ld.so.conf.d file. It probably makes
+  more sense to move this library back into %%{_libdir}, but I'll leave that to
+  Vitezslav to decide.
+
 * Thu Jan 17 2008 Jesse Keating <jkeating at redhat.com> - 1:8.4.2-4
 - Rebuild, fix libTix.so link paths.
 




More information about the fedora-extras-commits mailing list