remove benchmarking tool, drop python2 dependency

epel9
Fabio Valentini 5 years ago
parent 3f1b706008
commit 235f03f464
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -9,7 +9,7 @@
Name: libdbusmenu
Version: %{ubuntu_release}.0
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Library for passing menus over DBus
# All files installed in final rpms use C sources with dual licensing headers.
@ -41,7 +41,6 @@ BuildRequires: pkgconfig(gtk+-2.0) >= 2.16
BuildRequires: pkgconfig(gtk+-3.0) >= 2.91
BuildRequires: pkgconfig(json-glib-1.0) >= 0.13.4
BuildRequires: pkgconfig(x11) >= 1.3
BuildRequires: python2
BuildRequires: vala
# pkgconfig file is checked for valgrind, but is actually only used for tests
@ -49,6 +48,7 @@ BuildRequires: vala
# BuildRequires: pkgconfig(valgrind)
%if 0%{?with_tests}
BuildRequires: dbus-test-runner
BuildRequires: python2
BuildRequires: valgrind
%endif
@ -179,6 +179,10 @@ popd
# Let rpmbuild pick the documents in the files section
rm -fr %{buildroot}%{_docdir}/%{name}
# Remove benchmarking tool written in python2
rm %{buildroot}/%{_libexecdir}/dbusmenu-bench
%if 0%{?with_tests}
%check
for variant in %{name}-gtk3-%{version} %{name}-%{version}; do
@ -250,14 +254,15 @@ done
%{_datadir}/gtk-doc/*
%files tools
%doc %{name}-%{version}/tools/README.dbusmenu-bench
%{_libexecdir}/dbusmenu-bench
%{_libexecdir}/dbusmenu-testapp
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/json/
%{_datadir}/%{name}/json/test-gtk-label.json
%changelog
* Mon Sep 09 2019 Fabio Valentini <decathorpe@gmail.com> - 16.04.0-14
- Remove benchmarking tool, drop python2 dependency.
* Mon Sep 09 2019 Fabio Valentini <decathorpe@gmail.com> - 16.04.0-13
- Remove -Werror flag to fix build despite usage of deprecated things.

Loading…
Cancel
Save