update code

This commit is contained in:
zhuchunyi 2019-11-06 19:05:15 +08:00
parent 09b0cd26ea
commit dcdfeb1ef4

View File

@ -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 <luhuaxin@huawei.com> - 0.110-5
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: add help package
* Wed Aug 21 2019 luhuaxin <luhuaxin@huawei.com> - 0.110-4
- Package init