diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-11-12 09:37:09 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-11-12 17:00:23 -0800 |
commit | 6f7ec424b4c515d6113b41bdc524f6352d58c74b (patch) | |
tree | 8369670cc3aa9ec9b397034c5fb880cd83d890a8 | |
parent | 1543f987d31588b0eae750cf33d0c897ef6a55e3 (diff) | |
download | specs-6f7ec424b4c515d6113b41bdc524f6352d58c74b.tar.gz specs-6f7ec424b4c515d6113b41bdc524f6352d58c74b.tar.xz specs-6f7ec424b4c515d6113b41bdc524f6352d58c74b.zip |
watchman: updated patch, package state dir
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | utils/watchman.spec | 15 |
1 files 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 <salimma@fedoraproject.org> - 2020.09.21.00-3 +- Also install Watchman's state directory + * Wed Nov 11 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-2 - Support enabling tests - Add ExcludeArch on s390x for Folly dependency |