Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

6 changed files with 60 additions and 40 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/pyinotify-0.9.6.tar.gz
/pyinotify-0.9.6.tar.gz

1
.python-inotify.metadata Normal file
View File

@ -0,0 +1 @@
24c3f9c56ec57995a49f2caf4f63fa68796653fb SOURCES/pyinotify-0.9.6.tar.gz

View File

@ -3,52 +3,38 @@
Summary: Monitor filesystem events with Python under Linux
Name: python-inotify
Version: 0.9.6
Release: 13%{?dist}
Release: 25%{?dist}
License: MIT
Group: Development/Libraries
URL: https://github.com/seb-m/pyinotify
Source0: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
Patch01: pyinotify-0.9.6-epoint.patch
BuildRequires: gmp-devel
BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildArch: noarch
%global _description \
This is a Python module for watching filesystems changes. pyinotify \
can be used for various kind of fs monitoring. Based on inotify which \
is an event-driven notifier, where notifications are exported from \
kernel space to user space.
%description %_description
%description
This is a Python module for watching filesystems changes. pyinotify
can be used for various kind of fs monitoring. pyinotify relies on a
recent Linux Kernel feature (merged in kernel 2.6.13) called
inotify. inotify is an event-driven notifier, its notifications are
exported from kernel space to user space.
%package -n python3-inotify
Summary: Monitor filesystem events with Python under Linux
Group: Development/Languages
%{?python_provide:%python_provide python3-inotify}
%description -n python3-inotify
This is a Python 3 module for watching filesystems changes. pyinotify
can be used for various kind of fs monitoring. pyinotify relies on a
recent Linux Kernel feature (merged in kernel 2.6.13) called
inotify. inotify is an event-driven notifier, its notifications are
exported from kernel space to user space.
%package -n python%{python3_pkgversion}-inotify
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-inotify}
%description -n python%{python3_pkgversion}-inotify %_description
%prep
%setup -q -n %{oname}-%{version}
%patch01 -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
sed -i '1c#! %{__python3}' python3/pyinotify.py
%build
pushd %{py3dir}
%py3_build
popd
%install
pushd %{py3dir}
%py3_install
popd
%files -n python3-inotify
%files -n python%{python3_pkgversion}-inotify
%license COPYING
%doc ACKS README.md
%{_bindir}/%{oname}
@ -56,11 +42,52 @@ popd
%{python3_sitelib}/__pycache__/%{oname}*
%changelog
* Thu Nov 15 2018 Matej Marusak <mmarusak@redhat.com> - 0.9.6-13
- Only ship one executable (#1646714)
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.6-25
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Apr 09 2018 Miroslav Suchy <msuchy@redhat.com> - 0.9.6-12
- remove python2 subpackage
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.6-24
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-21
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 29 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-19
- Subpackages python2-inotify, python2-inotify-examples have been removed
See https://fedoraproject.org/wiki/Changes/RetirePython2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-18
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-17
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 06 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-14
- Only ship one executable (#1646926)
* Sun Jul 15 2018 Terje Rosten <terje.rosten@ntnu.no> - 0.9.4-14
- Use correct python macros
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-12
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: manual.sst_cs_system_management.python-inotify.legacy}

View File

@ -1 +0,0 @@
SHA512 (pyinotify-0.9.6.tar.gz) = b52de43293b06b32236e90b7c33fac061f3095cd7d4aecec89a099d56020db1a85440ab9dcc8b521238c001fc49a1f37d1b16d621bc1acab4d7273aebcaadbc5