build without libappindicator on RHEL 9
Signed-off-by: Antonio Cardace <acardace@redhat.com>
This commit is contained in:
parent
8209b3a80a
commit
9e2f2eb60e
@ -7,7 +7,7 @@
|
||||
|
||||
%global rpm_version 1.18.0
|
||||
%global real_version 1.18.0
|
||||
%global release_version 1
|
||||
%global release_version 2
|
||||
|
||||
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
|
||||
|
||||
@ -56,7 +56,9 @@ BuildRequires: jansson-devel
|
||||
BuildRequires: gcr-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: mobile-broadband-provider-info-devel
|
||||
%if 0%{?rhel} < 9 || 0%{?fedora}
|
||||
BuildRequires: libappindicator-gtk3-devel
|
||||
%endif
|
||||
BuildRequires: libdbusmenu-gtk3-devel
|
||||
|
||||
%description
|
||||
@ -80,7 +82,11 @@ utility for use with NetworkManager.
|
||||
-Dgcr=true \
|
||||
-Dselinux=true \
|
||||
-Ddisable-static=true \
|
||||
%if 0%{?rhel} < 9 || 0%{?fedora}
|
||||
-Dappindicator=yes
|
||||
%else
|
||||
-Dappindicator=no
|
||||
%endif
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@ -130,6 +136,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 18 2020 Antonio Cardace <acardace@redhat.com> - 1.18.0-2
|
||||
- Build without libappindicator-gtk3-devel on RHEL >=9
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-1.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user