fix gdb macro location

This commit is contained in:
Matthias Clasen 2009-09-23 20:16:27 +00:00
parent 26dae200a2
commit 31b382d14a

View File

@ -3,7 +3,7 @@
Summary: A library of handy utility functions Summary: A library of handy utility functions
Name: glib2 Name: glib2
Version: 2.22.0 Version: 2.22.0
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gtk.org URL: http://www.gtk.org
@ -18,6 +18,9 @@ BuildRequires: libattr-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
# for sys/inotify.h # for sys/inotify.h
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: automake autoconf libtool
Patch0: pyloc.patch
%description %description
GLib is the low-level core library that forms the basis GLib is the low-level core library that forms the basis
@ -50,6 +53,9 @@ of version 2 of the GLib library.
%prep %prep
%setup -q -n glib-%{version} %setup -q -n glib-%{version}
%patch0 -p1 -b .pyloc
autoreconf -f -i
%build %build
%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib} %configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib}
@ -107,8 +113,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%doc %{_datadir}/gtk-doc/html/* %doc %{_datadir}/gtk-doc/html/*
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%{_datadir}/gdb/auto-load%{_libdir}/libglib-2.0.so.*-gdb.py* %{_datadir}/gdb/auto-load%{libdir}/libglib-2.0.so.*-gdb.py*
%{_datadir}/gdb/auto-load%{_libdir}/libgobject-2.0.so.*-gdb.py* %{_datadir}/gdb/auto-load%{libdir}/libgobject-2.0.so.*-gdb.py*
%files static %files static
@ -116,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Wed Sep 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.22.0-2
- Fix location of gdb macros
* Tue Sep 22 2009 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1 * Tue Sep 22 2009 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
- Update to 2.22.0 - Update to 2.22.0