[mygui] The main .so files are no longer under /usr/lib/MYGUI

Bruno Wolff III bruno at fedoraproject.org
Wed Dec 31 03:39:34 UTC 2014


commit 23bf138de13b9636e58ada5f2d4419bcd6756b86
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Dec 30 17:06:53 2014 -0600

    The main .so files are no longer under /usr/lib/MYGUI
    
    We used to need to install a ldconfig file for things to find the
    libraries, but that was pointless. When we fixed where the general
    libs were put we didn't remove the obsolete ldconfig file.

 mygui.spec |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/mygui.spec b/mygui.spec
index 7d421b7..5a35c81 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -134,10 +134,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 # Remove binaries installed in %%{_bindir}
 rm -rf %{buildroot}/%{_bindir}/
 
-# Create config for ldconfig
-mkdir -p %{buildroot}/etc/ld.so.conf.d
-echo "%{_libdir}/MYGUI" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf 
-
 # Install the samples 
 mkdir -p %{buildroot}%{_libdir}/MYGUI/Demos 
 cp -p %{SOURCE3} bin/plugins.cfg %{buildroot}%{_libdir}/MYGUI/Demos
@@ -198,12 +194,6 @@ cp -a %{_lib}/libCommon.so* %{buildroot}%{_libdir}/
 rm -rf %{buildroot}
 
 
-%post -p /sbin/ldconfig
-
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root,-)
 %doc COPYING.MIT
@@ -213,7 +203,6 @@ rm -rf %{buildroot}
 %dir %{_datadir}/MyGUI/Media
 %{_datadir}/MyGUI/Media/Common
 %{_datadir}/MyGUI/Media/MyGUI_Media
-%config(noreplace) %{_sysconfdir}/ld.so.conf.d/* 
 
 
 %files devel
@@ -252,6 +241,8 @@ rm -rf %{buildroot}
 - Source location changed from sourceforge to github
 - Change log: https://github.com/MyGUI/mygui/releases/tag/MyGUI3.2.1
 - Adjust patches for changes to cmake files
+- Fix unowned directory
+- Remove obsolete ldconfig file
 
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list