From 6f7ec424b4c515d6113b41bdc524f6352d58c74b Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 12 Nov 2020 09:37:09 -0800 Subject: watchman: updated patch, package state dir Signed-off-by: Michel Alexandre Salim --- utils/watchman.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/utils/watchman.spec b/utils/watchman.spec index fc2b0be..2adde5a 100644 --- a/utils/watchman.spec +++ b/utils/watchman.spec @@ -8,13 +8,13 @@ Name: watchman Version: 2020.09.21.00 -Release: 2%{?dist} +Release: 3%{?dist} Summary: File alteration monitoring service License: ASL 2.0 URL: https://facebook.github.io/%{name}/ Source0: https://github.com/facebook/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch0: %{name}-py_destdir.patch +Patch0: %{name}-destdir.patch # Folly is known not to work on big-endian CPUs # TODO: file bz once this is approved @@ -50,7 +50,8 @@ sed -ie "s|version=\"1.4.1\"|version=\"%{version}\"|" python/setup.py %build -%cmake +%cmake \ + -DINSTALL_WATCHMAN_STATE_DIR=ON %cmake_build @@ -67,16 +68,20 @@ sed -ie "s|version=\"1.4.1\"|version=\"%{version}\"|" python/setup.py %files %license LICENSE %doc CODE_OF_CONDUCT.md README.markdown -%{_bindir}/watchman +%dir %{_var}/run/%{name} +%{_bindir}/%{name} %files -n python3-py%{name} %license python/LICENSE -%{_bindir}/watchman-* +%{_bindir}/%{name}-* %{python3_sitearch}/py%{name} %{python3_sitearch}/py%{name}-%{version}-py%{python3_version}.egg-info %changelog +* Thu Nov 12 2020 Michel Alexandre Salim - 2020.09.21.00-3 +- Also install Watchman's state directory + * Wed Nov 11 2020 Michel Alexandre Salim - 2020.09.21.00-2 - Support enabling tests - Add ExcludeArch on s390x for Folly dependency -- cgit