Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Akoellh
glib2
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package glib2
--- glib2-rpmlintrc.orig +++ glib2-rpmlintrc @@ -7,4 +7,5 @@ addFilter("glib2.*non-conffile-in-etc.*[ # Filter for env-script-intepreter for the following files under # /usr/bin directory: gdbus-codegen, glib-genmarshal and glib-mkenums addFilter(".*env-script-interpreter.*/usr/bin/[gdbus\-codegen|glib\-.*].*") - +setBadness('devel-file-in-non-devel-package', 0) +addFilter("devel-file-in-non-devel-package") --- glib2.spec.orig +++ glib2.spec @@ -16,7 +16,13 @@ # -%bcond_without systemtap +%if 0%{?sle_version} > 150500 +%bcond_without gtkdoc +%else +%bcond_with gtkdoc +%endif + +%bcond_with systemtap Name: glib2 Version: 2.64.2 Release: 0 @@ -36,6 +42,7 @@ Source6: macros.glib2 Source8: gsettings.zsh Source98: glib2-rpmlintrc Source99: baselibs.conf +Source100: glib2.changes # PATCH-FEATURE-UPSTREAM glib2-bgo569829-gettext-gkeyfile.patch fate300461 bgo569829 vuntz@novell.com -- Look for translation of desktop entry strings via gettext, part that we share with Ubuntu and try to push upstream Patch0: glib2-bgo569829-gettext-gkeyfile.patch # PATCH-FEATURE-OPENSUSE glib2-fate300461-gettext-gkeyfile-suse.patch fate300461 vuntz@novell.com -- Look for translation of desktop entry strings via gettext, part that deals with the openSUSE specific infrastructure (with desktop_translations) @@ -51,7 +58,9 @@ BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gamin-devel BuildRequires: gcc-c++ +%if %{with gtkdoc} BuildRequires: gtk-doc >= 1.32 +%endif BuildRequires: libselinux-devel BuildRequires: m4 BuildRequires: meson >= 0.49.2 @@ -70,8 +79,12 @@ BuildRequires: pkgconfig(zlib) # gtk-doc requires glib2-devel, but we will only be building this here; break up a cycle #!BuildIgnore: glib2-devel %if %{with systemtap} +%if 0%{?sle_version} >= 150200 BuildRequires: systemtap-dtrace BuildRequires: systemtap-headers +%else +BuildRequires: systemtap-sdt-devel +%endif %endif %description @@ -270,7 +283,11 @@ grep "%{_bindir}/env @PYTHON@" . -rl | x --default-library=both \ -Dselinux=enabled \ -Dman=true \ +%if %{with gtkdoc} -Dgtk_doc=true \ +%else + -Dgtk_doc=false \ +%endif -Dfam=true \ %if %{with systemtap} -Dsystemtap=true \ @@ -487,9 +504,11 @@ done %dir %{_libdir}/glib-2.0/ %{_libdir}/glib-2.0/include/ %{_libdir}/pkgconfig/*.pc +%if %{with gtkdoc} %{_datadir}/gtk-doc/html/gio %{_datadir}/gtk-doc/html/glib %{_datadir}/gtk-doc/html/gobject +%endif %{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py %if %{with systemtap} %dir %{_datadir}/systemtap @@ -500,9 +519,11 @@ done %{_datadir}/systemtap/tapset/*/libgobject-*.so.*.stp %endif %{_rpmmacrodir}/macros.glib2 +%if %{with gtkdoc} # Own these directories to not avoid breakages throughout the project %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html +%endif # Own these directories to avoid build requirement on gdb # only for directories ownership %dir %{_datadir}/gdb
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor