Summary: | (.spec) optional --enable-debug | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
Component: | libgtk+2 | Assignee: | Yuri N. Sedunov <aris> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | enhancement | ||
Priority: | P3 | CC: | aris |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Ivan Zakharyaschev
2018-02-18 13:05:34 MSK
Ради того, чтобы легче было узнать по установленному пакету, какой он: diff --git a/libgtk+2.spec b/libgtk+2.spec index a3ed729..aaeaefc 100644 --- a/libgtk+2.spec +++ b/libgtk+2.spec @@ -1,4 +1,5 @@ %def_disable snapshot +%def_disable debug %define _name gtk+ %define api_ver 2.0 @@ -82,6 +83,11 @@ BuildRequires: libXdamage-devel libXcomposite-devel libX11-devel libXcursor-deve GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. +%if_enabled debug + +The library in this package has been built with --enable-debug; +for debugging, set GTK_DEBUG environment variable to an appropriate value. +%endif %package locales Summary: Internationalization for GTK+ @@ -233,6 +239,7 @@ NOCONFIGURE=1 ./autogen.sh %autoreconf %endif %configure \ + %{subst_enable debug} \ %{subst_enable xkb} \ %{subst_enable man} \ --with-xinput=yes \ |