Compare commits

..

32 commits

Author SHA1 Message Date
a42fa83ce6
FTBFS; need to be repackaged after the Rust rewrite anyway 2024-12-09 10:36:40 +00:00
Fedora Release Engineering
90a6f17c09 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:08:22 +00:00
Python Maint
c421742154 Rebuilt for Python 3.13 2024-06-08 22:33:19 +02:00
JasenChao
27ffd69b26 Add riscv64 support. 2024-04-08 15:27:08 +08:00
d3a279f0f1
Rebuilt for folly 2024.02.19.00 2024-02-24 13:46:22 -06:00
fb781d4b4b
Rebuilt for folly 2024.01.22.00 2024-01-25 12:48:27 -06:00
aec37af04b
Rebuilt for folly 2023.10.16.00 2023-10-17 22:36:13 -05:00
039cef062b
Rebuilt for folly 2023.09.11.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2023-09-12 20:57:49 -05:00
Fedora Release Engineering
5fef2b7213 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:59:16 +00:00
845644620e
Rebuild for folly 2023.07.03.00
- Fix build failure with Python 3.12 (fixes: rhbz#2155443)
- Fix build failure with fmt 10 (fixes: rhbz#2219458)
- Use SPDX license identifiers

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-07-10 11:23:35 -05:00
Vitaly Zaitsev
6f710e24d6
Rebuilt due to fmt 10 update. 2023-06-28 11:56:36 +02:00
Python Maint
19809093d9 Rebuilt for Python 3.12 2023-06-13 23:28:53 +02:00
14a2f321d5
Rebuild for folly-2023.04.24.00
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-04-25 16:21:27 -05:00
Fedora Release Engineering
ec5b781589 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:37:07 +00:00
Fedora Release Engineering
1543cd1ced Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:13:18 +00:00
Michel Alexandre Salim
f5b22c44f7 Rebuild for folly 2022.07.11.00
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
2022-07-22 10:39:55 -05:00
c62a2f80b4 Rebuild for fmt-9, enable ppc64 again 2022-07-19 21:33:29 +09:00
7a8e85d35c Rebuild for folly-2022.03.14.00 2022-03-16 21:29:19 -07:00
a5bf9e0627 Drop %%{arm32} too on clang-compiled folly
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-03-09 11:18:27 -08:00
9f880030e5 Exclude %%{ix86} on Fedora >= 36
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-03-09 09:11:39 -08:00
1c2e4e2914 Exclude ppc64le on Fedora >= 36 until Folly's fmt issue is fixed
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-03-08 20:04:56 -08:00
d3d55cfb7e Rebuild for folly-2022.03.07.00 2022-03-08 19:58:17 -08:00
Fedora Release Engineering
c5ff828ba6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:17:00 +00:00
ee2f1c307a Rebuilt with Folly 2021.12.20.00
Opt in to rpmautospec

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2021-12-28 11:48:41 -08:00
Sahana Prasad
eb4c81008d Rebuilt with OpenSSL 3.0.0 2021-09-14 19:17:40 +02:00
5ba130801b Patch for folly API deprecation change
Patch for build issue on 32bit arch
Disable tests with gtest 1.11 for now
2021-09-13 21:14:08 +09:00
Fedora Release Engineering
572f7a40aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:46:14 +00:00
Richard Shaw
5c0f245054 Rebuild for new fmt version. 2021-07-05 07:43:08 -05:00
Python Maint
d5767b3185 Rebuilt for Python 3.10 2021-06-04 21:19:50 +02:00
Michel Alexandre Salim
e2a1f49c00 Update to 2021.05.10.00
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
2021-05-10 09:21:48 -07:00
Michel Alexandre Salim
c7d249a5b2 Update to 2021.04.26.00
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
2021-04-26 15:11:08 -07:00
Tomas Hrnciar
f3704f3e48 BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:32 +02:00
7 changed files with 1 additions and 191 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/watchman-2021.04.12.00.tar.gz

View file

@ -1,3 +0,0 @@
# watchman
The watchman package

1
dead.package Normal file
View file

@ -0,0 +1 @@
FTBFS; need to be repackaged after the Rust rewrite anyway

View file

@ -1 +0,0 @@
SHA512 (watchman-2021.04.12.00.tar.gz) = fc0043f68902025722cc1f3c28bf19a3d054cff9d20dba0585154f3e21942ac81df217b5bdcff85e208cbf739c6182fff0211a4308adc2a046d2d9b04e080443

View file

@ -1 +0,0 @@
d /run/watchman 02777 root root

View file

@ -1,45 +0,0 @@
From 433938a3a6f03b144151895e23c98906af1d4d7a Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <michel@michel-slm.name>
Date: Tue, 26 Jan 2021 22:32:56 -0800
Subject: [PATCH] watchman: use DESTDIR consistently
Delay `DESTDIR` evaluation in invocation of `python setup.py` so it uses
the value passed when installing, not when configuring.
Also use don't prepend `CMAKE_INSTALL_PREFIX` for `WATCHMAN_STATE_DIR`.
It will pick up `DESTDIR` automatically
Note: when building on Fedora, `DESTDIR` is set to the build root and
`PREFIX` set to `/usr`, so adding the `PREFIX` would result in Python files
being seen in `%{buildroot}/usr/usr`
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dbcd68a..2c197bcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,7 +136,7 @@ endfunction()
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/config.h.new" "#pragma once\n")
if(NOT WIN32)
- set(WATCHMAN_STATE_DIR "${CMAKE_INSTALL_PREFIX}/var/run/watchman" CACHE STRING
+ set(WATCHMAN_STATE_DIR "/var/run/watchman" CACHE STRING
"Run-time path of the persistent state directory")
set(INSTALL_WATCHMAN_STATE_DIR OFF CACHE BOOL
"Whether WATCHMAN_STATE_DIR should be created by the cmake install
@@ -418,7 +418,7 @@ else()
${CMAKE_COMMAND} -E env
CMAKE_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
${PYTHON3} ${SETUP_PY} install
- --root $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}
+ --root \$ENV{DESTDIR}
RESULT_VARIABLE STATUS)
if (NOT STATUS STREQUAL 0)
message(FATAL_ERROR \"pywatchman install failed\")
--
2.29.2

View file

@ -1,140 +0,0 @@
# some Python tests are failing
# The following tests FAILED:
# 40 - CacheTest.future (Child aborted)
# 290 - test_py::tests.integration.test_site_spawn.TestSiteSpawn.test_failingSpawner (Failed)
# 292 - test_py::tests.integration.test_site_spawn.TestSiteSpawn.test_spawner (Failed)
# Errors while running CTest
%bcond_with tests
Name: watchman
Version: 2021.04.12.00
Release: 1%{?dist}
Summary: File alteration monitoring service
%global stripped_version %(echo %{version} | sed -r 's/\\.0([[:digit:]])/.\\1/g')
License: ASL 2.0
URL: https://facebook.github.io/%{name}/
Source0: https://github.com/facebook/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: tmpfiles-%{name}.conf
Patch0: %{name}-destdir.patch
# Folly is known not to work on big-endian CPUs
# TODO: file bz once this is approved
ExcludeArch: s390x
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: folly-devel
BuildRequires: pcre-devel
# for %%{_tmpfilesdir}
BuildRequires: systemd-rpm-macros
%description
Watchman exists to watch files and record when they actually change. It can also
trigger actions (such as rebuilding assets) when matching files change.
%package -n python3-py%{name}
Summary: Python bindings for %{name}
License: BSD and MIT
BuildRequires: procps-ng
BuildRequires: python3-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
# watchman-diag shells out to ps
Requires: procps-ng
%description -n python3-py%{name}
The python3-py%{name} package contains Python bindings for %{name}.
%prep
%autosetup -p1
# Fix pywatchman version.
sed -i "s|version=\"1.4.1\"|version=\"%{version}\"|" python/setup.py
%build
%cmake \
-DINSTALL_WATCHMAN_STATE_DIR=ON
%cmake_build
%install
%cmake_install
mkdir -p %{buildroot}%{_tmpfilesdir}
cp -p %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf
%if %{with tests}
%check
%ctest
%endif
%files
%license LICENSE
%doc CODE_OF_CONDUCT.md README.markdown
%attr(02777,root,root) %dir %{_var}/run/%{name}
%{_bindir}/%{name}
%{_tmpfilesdir}/%{name}.conf
%files -n python3-py%{name}
%license python/LICENSE
%{_bindir}/%{name}-*
%{python3_sitearch}/py%{name}
%{python3_sitearch}/py%{name}-%{stripped_version}-py%{python3_version}.egg-info
%changelog
* Fri Apr 16 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.04.12.00-1
- Update to 2021.04.12.00
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2021.03.29.00-2
- Rebuilt for removed libstdc++ symbol (#1937698)
* Mon Mar 29 2021 Michel Alexandre Salim <michel@michel-slm.name> - 2021.03.29.00-1
- Update to 2021.03.29.00
* Wed Mar 24 2021 Michel Alexandre Salim <michel@michel-slm.name> - 2021.03.22.00-1
- Update to 2021.03.22.00
* Mon Mar 15 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.03.15.00-1
- Update to 2021.03.15.00
* Wed Feb 03 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.02.01.00-1
- Update to 2021.02.01.00
* Tue Jan 26 17:51:20 PST 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.01.25.00-1
- Update to 2021.01.25.00
* Tue Dec 29 12:16:46 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.28.00-1
- Update to 2020.12.28.00
* Tue Dec 22 20:48:10 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.21.00-1
- Update to 2020.12.21.00
* Tue Dec 1 12:26:55 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-7
- Recreate state directory with tmpfiles (bz #1903141)
* Mon Nov 30 16:23:46 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-6
- Rebuild for folly-2020.11.30.00
* Mon Nov 23 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-5
- Rebuild for folly-2020.11.23.00
* Mon Nov 16 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-4
- Rebuild for folly-2020.11.16.00
* 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
- Rename Python subpackage
- Fix version number and licensing for Python subpackage
- Move Python scripts to the Python subpackage
* Tue Nov 10 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-1
- Initial package