Own the folders %{_mingw32_libdir}/gio and %{_mingw32_libdir}/gio/modules

- Own the folders %{_mingw32_libdir}/gio and %{_mingw32_libdir}/gio/modules
- Dropped the .def files as they aren't useful for other binaries
This commit is contained in:
Erik van Pienbroek 2011-04-28 12:07:14 +02:00
parent 04e4ad78a5
commit 8e8b351bbb

View File

@ -7,7 +7,7 @@
Name: mingw32-glib2
Version: 2.28.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: MinGW Windows GLib2 library
License: LGPLv2+
@ -135,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc
# Bash-completion files aren't interesting for mingw32
rm -rf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/bash_completion.d
# The .def files are also of no use to other binaries
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.def
%find_lang glib20
@ -161,12 +164,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_bindir}/libgthread-2.0-0.dll
%{_mingw32_includedir}/glib-2.0/
%{_mingw32_includedir}/gio-win32-2.0/
%{_mingw32_libdir}/gio-2.0.def
%{_mingw32_libdir}/glib-2.0.def
%{_mingw32_libdir}/glib-2.0/
%{_mingw32_libdir}/gmodule-2.0.def
%{_mingw32_libdir}/gobject-2.0.def
%{_mingw32_libdir}/gthread-2.0.def
%dir %{_mingw32_libdir}/gio/
%dir %{_mingw32_libdir}/gio/modules/
%{_mingw32_libdir}/libgio-2.0.dll.a
%{_mingw32_libdir}/libgio-2.0.la
%{_mingw32_libdir}/libglib-2.0.dll.a
@ -200,6 +200,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Apr 28 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.28.6-3
- Own the folders %%{_mingw32_libdir}/gio and %%{_mingw32_libdir}/gio/modules
- Dropped the .def files as they aren't useful for other binaries
* Wed Apr 27 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.28.6-2
- Dropped the proxy-libintl pieces