Accepting request 121792 from home:dimstar:branches:GNOME:Factory

Attempt to fix bnc#684826 - at your disposal

OBS-URL: https://build.opensuse.org/request/show/121792
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=97
This commit is contained in:
Vincent Untz 2012-05-23 14:23:03 +00:00 committed by Git OBS Bridge
parent efbc80e346
commit 425d5604e8
2 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue May 22 19:21:57 UTC 2012 - dimstar@opensuse.org
- Drop xz BuildRequires, as it now comes for free in the build
system.
- Change rpm group of libgirepository-1_0-1 to System/Libraries.
- Create new subpackage girepository-1_0, which contains the
*.typelib files; this allows to bump the soname of
libgirepository and being able to parallel install them.
[bnc#684826].
-------------------------------------------------------------------
Wed Apr 18 07:33:27 UTC 2012 - vuntz@opensuse.org

View File

@ -40,8 +40,6 @@ BuildRequires: libffi-devel
BuildRequires: libtool
BuildRequires: python-devel
BuildRequires: python-xml
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gobject-2.0)
%if 0%{?BUILD_FROM_VCS}
@ -58,12 +56,22 @@ a uniform, machine readable format.
%package -n libgirepository-1_0-1
Summary: GObject Introspection Library
Group: Development/Libraries/GNOME
Group: System/Libraries
Requires: girepository-1_0 >= %{version}
%description -n libgirepository-1_0-1
The goal of the project is to describe the APIs and collect them in
a uniform, machine readable format.
%package -n girepository-1_0
Summary: GObject Introspection Library based typelibs
Group: System/Libraries
Requires: libgirepository-1_0-1 >= %{version}
# Provide typelib() symbols based on gobject-introspection-typelib.template
# The template is checked during install if it matches the installed *.typelib files.
%(cat %{S:3} | awk '{ print "Provides: " $0}')
%description -n libgirepository-1_0-1
%description -n girepository-1_0
The goal of the project is to describe the APIs and collect them in
a uniform, machine readable format.
@ -151,7 +159,11 @@ rm -rf %{buildroot}
# not have to own it
%dir %{_datadir}/gir-1.0
%{_libdir}/libgirepository-1.0.so.*
%{_libdir}/girepository-1.0/
%dir %{_libdir}/girepository-1.0
%files -n girepository-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/*.typelib
%files devel
%defattr(-,root,root)