update code

This commit is contained in:
zhuchunyi 2019-11-06 19:54:07 +08:00
parent 2548c27753
commit 06fa10834a

View File

@ -1,6 +1,6 @@
Name: telepathy-logger Name: telepathy-logger
Version: 0.8.2 Version: 0.8.2
Release: 9 Release: 11
Summary: Centralized Logging for the Telepathy Framework Summary: Centralized Logging for the Telepathy Framework
License: LGPLv2+ License: LGPLv2+
@ -9,13 +9,13 @@ Source0: https://telepathy.freedesktop.org/releases/telepathy-logger/%{
BuildRequires: dbus-devel dbus-glib-devel glib2-devel gnome-doc-utils BuildRequires: dbus-devel dbus-glib-devel glib2-devel gnome-doc-utils
BuildRequires: gobject-introspection-devel intltool libxml2-devel BuildRequires: gobject-introspection-devel intltool libxml2-devel
BuildRequires: sqlite-devel telepathy-glib-devel git python python-twisted BuildRequires: sqlite-devel telepathy-glib-devel git python
Requires: telepathy-filesystem Requires: telepathy-filesystem
%description %description
telepathy-logger is a daemon that centralizes the logging of all telepathy-logger is a daemon that centralizes the logging of all
communication within the Telepathy framework. This prevents the communication within the Telepathy framework. This prevents the
UIs from having to implement their own solution that would end UIs from having to implement their own solution that would end
up into having multiple incomplete databases. up into having multiple incomplete databases.
%package devel %package devel
@ -28,7 +28,7 @@ Header files for telepathy-logger
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%if "%{_libdir}" != "/usr/lib" %if "%{_libdir}" != "/usr/lib"
sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%endif %endif
@ -36,7 +36,7 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%build %build
%configure --enable-introspection=yes %configure --enable-introspection=yes
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build %make_build
%install %install
%make_install %make_install
@ -56,7 +56,8 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &>/dev/null |
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README COPYING %doc README
%license COPYING
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib %{_libdir}/girepository-1.0/*.typelib
%{_libexecdir}/telepathy-logger %{_libexecdir}/telepathy-logger
@ -73,10 +74,22 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &>/dev/null |
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS %doc NEWS
%{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/gtk-doc/html/telepathy-logger/* %{_datadir}/gtk-doc/html/telepathy-logger/*
%changelog %changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-11
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* Wed Oct 16 2019 chengquan<chengquan3@huawei.com> - 0.8.2-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:remove useless buildrequires
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-9 * Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-9
- Package init - Package init