Update tracker-miners.spec to successfully build on RHEL and ELN
The tracker-miners.spec already has a section in it to turn off certain dependencies not wanted in RHEL. But since the %build section was changed to use meson, it no longer builds correctly on RHEL. This change puts in the meson build statements to allow it to build on RHEL and ELN. We are setting up a secondary Rawhide build called ELN. In this compose, %{fedora} is unset and %{rhel} is set to "one higher than the most recently-released RHEL major version". Successful Fedora Rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=44463079 Successful Fedora ELN scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=44462968 Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
8874bcdd45
commit
ceee44f5a0
@ -89,6 +89,12 @@ This package contains various miners and metadata extractors for tracker.
|
|||||||
# Disable the functional tests for now, they use python bytecodes.
|
# Disable the functional tests for now, they use python bytecodes.
|
||||||
%meson \
|
%meson \
|
||||||
-Dfunctional_tests=false \
|
-Dfunctional_tests=false \
|
||||||
|
%if ! 0%{?with_libcue}
|
||||||
|
-Dcue=disabled \
|
||||||
|
%endif
|
||||||
|
%if ! 0%{?with_rss}
|
||||||
|
-Dminer_rss=false \
|
||||||
|
%endif
|
||||||
-Dsystemd_user_services=%{_userunitdir}
|
-Dsystemd_user_services=%{_userunitdir}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user