mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-23 23:46:13 -05:00
fix: correct RPM dependencies and upgrade cleanup
This commit is contained in:
1 file changed
+8
-8
@@ -28,16 +28,16 @@ BuildRequires: wget
|
|||||||
BuildRequires: file
|
BuildRequires: file
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
BuildRequires: pkgconfig(webkit2gtk-4.1)
|
||||||
BuildRequires: webkit2gtk3-devel
|
BuildRequires: (pkgconfig(appindicator3-0.1) or pkgconfig(ayatana-appindicator3-0.1))
|
||||||
%else
|
|
||||||
BuildRequires: webkit2gtk4.1-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: (libappindicator-gtk3-devel or libappindicator3-1)
|
|
||||||
BuildRequires: (librsvg2-devel or librsvg-devel)
|
BuildRequires: (librsvg2-devel or librsvg-devel)
|
||||||
|
|
||||||
Requires: (libappindicator-gtk3 or libayatana-appindicator)
|
%if 0%{?suse_version}
|
||||||
|
Requires: (libappindicator3-1 or libayatana-appindicator3-1)
|
||||||
|
%else
|
||||||
|
Requires: (libappindicator-gtk3 or libayatana-appindicator-gtk3)
|
||||||
|
%endif
|
||||||
Conflicts: globalprotect-openconnect-snapshot
|
Conflicts: globalprotect-openconnect-snapshot
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
@@ -49,8 +49,8 @@ A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authenticati
|
|||||||
%setup
|
%setup
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
rm -f %{_bindir}/gpgui
|
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
|
rm -f %{_bindir}/gpgui
|
||||||
rm -f \
|
rm -f \
|
||||||
/var/lib/gpclient/scripts/vpnc-script \
|
/var/lib/gpclient/scripts/vpnc-script \
|
||||||
/var/lib/gpclient/scripts/vpnc-script.metadata ||
|
/var/lib/gpclient/scripts/vpnc-script.metadata ||
|
||||||
|
|||||||
Reference in new issue
Block a user