!5 [sync] PR-4: fix Require libxfce4ui-1

From: @openeuler-sync-bot
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-08-18 10:15:04 +00:00 committed by Gitee
commit 76f14a53d7
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -uNr xfce4-sensors-plugin-1.3.95.orig/lib/libxfce4sensors-1.0.pc.in xfce4-sensors-plugin-1.3.95/lib/libxfce4sensors-1.0.pc.in
--- xfce4-sensors-plugin-1.3.95.orig/lib/libxfce4sensors-1.0.pc.in 2012-04-16 16:29:57.000000000 +0800
+++ xfce4-sensors-plugin-1.3.95/lib/libxfce4sensors-1.0.pc.in 2021-08-18 17:52:54.374728479 +0800
@@ -9,7 +9,7 @@
Name: libxfce4sensors
Description: Library for the Xfce 4 Sensors Plugin and Viewer
-Requires: libxfce4util-1.0 libxfce4ui-1
+Requires: libxfce4util-1.0 libxfce4ui-2
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lxfce4sensors
Cflags: -I${includedir}/xfce4/

View File

@ -3,11 +3,12 @@
Name: xfce4-sensors-plugin Name: xfce4-sensors-plugin
Version: 1.3.95 Version: 1.3.95
Release: 1 Release: 2
Summary: Hardware sensors plugin for the Xfce panel Summary: Hardware sensors plugin for the Xfce panel
License: GPLv2+ License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/%{name} URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
Patch0: fix_require_libxfce4ui.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libnotify-devel >= 0.4 BuildRequires: libnotify-devel >= 0.4
@ -37,7 +38,7 @@ Requires: libxfce4util-devel
Static libraries and header files for the xfce4-sensors-plugin. Static libraries and header files for the xfce4-sensors-plugin.
%prep %prep
%autosetup %autosetup -p1
%build %build
%configure --disable-static \ %configure --disable-static \
@ -78,6 +79,9 @@ desktop-file-install --vendor "" \
%{_libdir}/xfce4/modules/libxfce4sensors.so %{_libdir}/xfce4/modules/libxfce4sensors.so
%changelog %changelog
* Wed Aug 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.3.95-2
- fix Require libxfce4ui-1
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.3.95-1 * Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.3.95-1
- Update to 1.3.95 - Update to 1.3.95