From dcdfeb1ef44fca2aff5b02d2e85c0d254774b346 Mon Sep 17 00:00:00 2001 From: zhuchunyi Date: Wed, 6 Nov 2019 19:05:15 +0800 Subject: [PATCH] update code --- dbus-glib.spec | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/dbus-glib.spec b/dbus-glib.spec index 605439d..df11154 100644 --- a/dbus-glib.spec +++ b/dbus-glib.spec @@ -1,6 +1,6 @@ Name: dbus-glib Version: 0.110 -Release: 4 +Release: 5 Summary: GLib bindings for DBUS License: AFL and GPLv2+ URL: http://www.freedesktop.org/software/dbus/ @@ -15,12 +15,20 @@ The D-Bus GLib package contains GLib interfaces to the D-Bus API. %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package help +Summary: Doc files for %{name} +Buildarch: noarch +Requires: man + +%description help +The %{name}-help package contains doc files for %{name}. + %prep %autosetup -n %{name}-%{version} -p1 -S git @@ -48,11 +56,9 @@ make check %postun -p /sbin/ldconfig %files -%doc NEWS %license COPYING %{_bindir}/dbus-binding-tool %{_libdir}/lib%{name}-1.so.* -%{_mandir}/man1/dbus-binding-tool.1.gz %files devel %defattr(-,root,root) @@ -61,9 +67,18 @@ make check %{_libdir}/lib%{name}-1.so %{_libdir}/pkgconfig/%{name}-1.pc %{_libexecdir}/dbus-bash-completion-helper + +%files help +%doc NEWS +%{_mandir}/man1/dbus-binding-tool.1.gz %{_datadir}/gtk-doc/html/%{name} - %changelog +* Mon Sep 30 2019 luhuaxin - 0.110-5 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: add help package + * Wed Aug 21 2019 luhuaxin - 0.110-4 - Package init