!9 [sync] PR-8: 添加sw架构
From: @openeuler-sync-bot Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
1138b6250f
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
|
||||
Version: 0.9.6
|
||||
Release: 18
|
||||
Release: 19
|
||||
Summary: A Python module for monitoring filesystems changes
|
||||
License: MIT
|
||||
URL: https://github.com/seb-m/pyinotify
|
||||
Source0: https://github.com/seb-m/pyinotify/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
||||
|
||||
Patch0: pyinotify-0.9.6-epoint.patch
|
||||
Patch1: pyinotify-0.9.6-sw.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: gmp-devel
|
||||
|
||||
@ -64,6 +65,9 @@ mv %{buildroot}%{_bindir}/%{_name} %{buildroot}%{_bindir}/python3-%{_name}
|
||||
%doc README.md PKG-INFO
|
||||
|
||||
%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
|
||||
- Rebuild for next release
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user