fix shared lib symlinks

This commit is contained in:
Matthias Clasen 2010-08-05 23:06:00 -04:00
parent 9301a3e420
commit 9278151ed5

View File

@ -2,7 +2,7 @@
Name: dconf
Version: 0.5
Release: 1
Release: 2
Summary: A configuration system
Group: System Environment/Base
@ -61,6 +61,13 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# fix up shared lib symlinks to ldconfigs liking
(cd $RPM_BUILD_ROOT%{_libdir}
mv libdconf.so.0 libdconf.so.0.0.0
rm libdconf.so
ln -s libdconf.so.0.0.0 libdconf.so.0
ln -s libdconf.so.0.0.0 libdconf.so
)
%post
/sbin/ldconfig
@ -86,8 +93,8 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_libdir}/libdconf.so
%{_libdir}/pkgconfig/dconf.pc
# temporarily disable introspection until we have a new-enough goi
#%{_libdir}/girepository-1.0/dconf-0.5.typelib
#%{_datadir}/gir-1.0/dconf-0.5.gir
%{_libdir}/girepository-1.0/dconf-0.3.typelib
%{_datadir}/gir-1.0/dconf-0.3.gir
%{_datadir}/gtk-doc/html/dconf
%{_datadir}/vala
@ -96,6 +103,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_bindir}/dconf-editor
%changelog
* Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-2
- Fix up shared library symlinks (#621733)
* Tue Aug 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-1
- Update to 0.5