diff --git a/dbus-glib.spec b/dbus-glib.spec index 8536435994bbf31c879b239ecf1c3e5768ffd2fb..e555ef1880b43635ea597a59979f996961808fcc 100644 --- a/dbus-glib.spec +++ b/dbus-glib.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + %global expat_version 1.95.5 %global glib2_version 2.40.0 %global dbus_version 1.8 @@ -5,7 +7,7 @@ Summary: GLib bindings for D-Bus Name: dbus-glib Version: 0.110 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} URL: http://www.freedesktop.org/software/dbus/ #VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib Source0: https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz @@ -17,6 +19,9 @@ BuildRequires: expat-devel >= %{expat_version} BuildRequires: gettext BuildRequires: /usr/bin/chrpath +Requires: glibc +Provides: /usr/bin/dbus-binding-tool + %description D-Bus add-on library to integrate the standard D-Bus library with @@ -31,6 +36,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Headers and static libraries for the D-Bus GLib bindings +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -63,7 +76,6 @@ chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh %postun -p /sbin/ldconfig %files -%doc NEWS %license COPYING %{_libdir}/libdbus-glib-1.so.* %{_bindir}/dbus-binding-tool @@ -77,8 +89,14 @@ chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh %{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh %{_libexecdir}/dbus-bash-completion-helper +%files doc +%doc NEWS + %changelog +* Sat Jul 16 2022 Zhao Hang - 0.110-2.0.1 +- Add doc sub package + * Wed Feb 07 2018 Fedora Release Engineering - 0.110-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild