Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit 31aca99d0117a20d78702532044f8eb75ff2086b)
This commit is contained in:
parent
fb32d00d33
commit
e4284b037e
14
pyinotify-0.9.6-sw.patch
Executable file
14
pyinotify-0.9.6-sw.patch
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
diff -Naur pyinotify-0.9.6.org/common/inotify_syscalls.c pyinotify-0.9.6.sw/common/inotify_syscalls.c
|
||||||
|
--- pyinotify-0.9.6.org/common/inotify_syscalls.c 2022-02-26 08:07:47.680000000 +0000
|
||||||
|
+++ pyinotify-0.9.6.sw/common/inotify_syscalls.c 2022-02-26 08:10:17.730000000 +0000
|
||||||
|
@@ -52,6 +52,10 @@
|
||||||
|
# define __NR_inotify_init 444
|
||||||
|
# define __NR_inotify_add_watch 445
|
||||||
|
# define __NR_inotify_rm_watch 446
|
||||||
|
+# elif defined (__sw_64__)
|
||||||
|
+# define __NR_inotify_init 444
|
||||||
|
+# define __NR_inotify_add_watch 445
|
||||||
|
+# define __NR_inotify_rm_watch 446
|
||||||
|
# elif defined (__sparc__) || defined (__sparc64__)
|
||||||
|
# define __NR_inotify_init 151
|
||||||
|
# define __NR_inotify_add_watch 152
|
||||||
@ -8,13 +8,14 @@ functionalities.
|
|||||||
|
|
||||||
Name: python-inotify
|
Name: python-inotify
|
||||||
Version: 0.9.6
|
Version: 0.9.6
|
||||||
Release: 18
|
Release: 19
|
||||||
Summary: A Python module for monitoring filesystems changes
|
Summary: A Python module for monitoring filesystems changes
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/seb-m/pyinotify
|
URL: https://github.com/seb-m/pyinotify
|
||||||
Source0: https://github.com/seb-m/pyinotify/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
Source0: https://github.com/seb-m/pyinotify/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: pyinotify-0.9.6-epoint.patch
|
Patch0: pyinotify-0.9.6-epoint.patch
|
||||||
|
Patch1: pyinotify-0.9.6-sw.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
|
|
||||||
@ -64,6 +65,9 @@ mv %{buildroot}%{_bindir}/%{_name} %{buildroot}%{_bindir}/python3-%{_name}
|
|||||||
%doc README.md PKG-INFO
|
%doc README.md PKG-INFO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 0.9.6-19
|
||||||
|
- Add sw64 architecture
|
||||||
|
|
||||||
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.9.6-18
|
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.9.6-18
|
||||||
- Rebuild for next release
|
- Rebuild for next release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user