mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -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: perl
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: webkit2gtk3-devel
|
||||
%else
|
||||
BuildRequires: webkit2gtk4.1-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.1)
|
||||
BuildRequires: (pkgconfig(appindicator3-0.1) or pkgconfig(ayatana-appindicator3-0.1))
|
||||
|
||||
BuildRequires: (libappindicator-gtk3-devel or libappindicator3-1)
|
||||
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
|
||||
|
||||
%global debug_package %{nil}
|
||||
@@ -49,8 +49,8 @@ A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authenticati
|
||||
%setup
|
||||
|
||||
%postun
|
||||
rm -f %{_bindir}/gpgui
|
||||
if [ "$1" -eq 0 ]; then
|
||||
rm -f %{_bindir}/gpgui
|
||||
rm -f \
|
||||
/var/lib/gpclient/scripts/vpnc-script \
|
||||
/var/lib/gpclient/scripts/vpnc-script.metadata ||
|
||||
|
||||
Reference in new issue
Block a user