Accepting request 79714 from devel:languages:python
Fixed files section... I wonder how my previous one built before submit (forwarded request 79682 from dimstar) OBS-URL: https://build.opensuse.org/request/show/79714 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=14
This commit is contained in:
parent
9f2bda162b
commit
48645c3921
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 24 16:32:52 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Fix -devel package files section (pygobject doc is gone)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 24 11:42:49 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Delete gtk-doc/html/pygobject: The documentation is not
|
||||||
|
reflecting the gi-bindings. but the old static ones.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 22 12:41:59 UTC 2011 - dimstar@opensuse.org
|
Mon Aug 22 12:41:59 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -112,7 +112,9 @@ make %{?jobs:-j%jobs} V=1
|
|||||||
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
rm examples/Makefile*
|
rm examples/Makefile*
|
||||||
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
|
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
|
||||||
rm -rf %{buildroot}%{local_py_sitedir}/gtk-2.0
|
rm -r %{buildroot}%{local_py_sitedir}/gtk-2.0
|
||||||
|
# Remove the outdataed pygobject documentation. It does not apply to the gi-bindings.
|
||||||
|
rm -r %{buildroot}%{_datadir}/gtk-doc/html/pygobject/
|
||||||
%fdupes $RPM_BUILD_ROOT
|
%fdupes $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -146,11 +148,5 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# that should live in the main package
|
# that should live in the main package
|
||||||
%dir %{_datadir}/%{_name}
|
%dir %{_datadir}/%{_name}
|
||||||
%{_datadir}/%{_name}/xsl/
|
%{_datadir}/%{_name}/xsl/
|
||||||
## doc: we need the files there since building API docs for other python
|
|
||||||
## bindings require some files from here
|
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
|
||||||
%dir %{_datadir}/gtk-doc
|
|
||||||
%dir %{_datadir}/gtk-doc/html
|
|
||||||
%doc %{_datadir}/gtk-doc/html/pygobject/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 24 16:32:52 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Fix -devel package files section (pygobject doc is gone)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 24 11:42:49 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Delete gtk-doc/html/pygobject: The documentation is not
|
||||||
|
reflecting the gi-bindings. but the old static ones.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 22 12:41:59 UTC 2011 - dimstar@opensuse.org
|
Mon Aug 22 12:41:59 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python3-gobject
|
# spec file for package python-gobject
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -31,7 +31,7 @@ Name: python3-gobject
|
|||||||
%define _name pygobject
|
%define _name pygobject
|
||||||
Summary: Python bindings for GObject
|
Summary: Python bindings for GObject
|
||||||
Version: 2.90.2
|
Version: 2.90.2
|
||||||
Release: 2
|
Release: 3
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
|
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
|
||||||
@ -112,7 +112,9 @@ make %{?jobs:-j%jobs} V=1
|
|||||||
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
rm examples/Makefile*
|
rm examples/Makefile*
|
||||||
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
|
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
|
||||||
rm -rf %{buildroot}%{local_py_sitedir}/gtk-2.0
|
rm -r %{buildroot}%{local_py_sitedir}/gtk-2.0
|
||||||
|
# Remove the outdataed pygobject documentation. It does not apply to the gi-bindings.
|
||||||
|
rm -r %{buildroot}%{_datadir}/gtk-doc/html/pygobject/
|
||||||
%fdupes $RPM_BUILD_ROOT
|
%fdupes $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -146,11 +148,5 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# that should live in the main package
|
# that should live in the main package
|
||||||
%dir %{_datadir}/%{_name}
|
%dir %{_datadir}/%{_name}
|
||||||
%{_datadir}/%{_name}/xsl/
|
%{_datadir}/%{_name}/xsl/
|
||||||
## doc: we need the files there since building API docs for other python
|
|
||||||
## bindings require some files from here
|
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
|
||||||
%dir %{_datadir}/gtk-doc
|
|
||||||
%dir %{_datadir}/gtk-doc/html
|
|
||||||
%doc %{_datadir}/gtk-doc/html/pygobject/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user