857d0e
%global oname  pyinotify
857d0e
857d0e
Summary:       Monitor filesystem events with Python under Linux
857d0e
Name:          python-inotify
857d0e
Version:       0.9.6
857d0e
Release:       25%{?dist}
857d0e
License:       MIT
857d0e
URL:           https://github.com/seb-m/pyinotify
857d0e
Source0:       http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
857d0e
Patch01:       pyinotify-0.9.6-epoint.patch
857d0e
BuildRequires: gmp-devel
857d0e
BuildRequires: python%{python3_pkgversion}-devel
857d0e
BuildArch:     noarch
857d0e
%global _description \
857d0e
This is a Python module for watching filesystems changes. pyinotify \
857d0e
can be used for various kind of fs monitoring. Based on inotify which \
857d0e
is an event-driven notifier, where notifications are exported from \
857d0e
kernel space to user space.
857d0e
%description %_description
857d0e
857d0e
%package    -n python%{python3_pkgversion}-inotify
857d0e
Summary:       %{summary}
857d0e
%{?python_provide:%python_provide python%{python3_pkgversion}-inotify}
857d0e
%description -n python%{python3_pkgversion}-inotify %_description
857d0e
857d0e
%prep
857d0e
%setup -q -n %{oname}-%{version}
857d0e
%patch01 -p1
857d0e
sed -i '1c#! %{__python3}' python3/pyinotify.py
857d0e
857d0e
%build
857d0e
%py3_build
857d0e
857d0e
%install
857d0e
%py3_install
857d0e
857d0e
%files -n python%{python3_pkgversion}-inotify
857d0e
%license COPYING
857d0e
%doc ACKS README.md
857d0e
%{_bindir}/%{oname}
857d0e
%{python3_sitelib}/%{oname}*
857d0e
%{python3_sitelib}/__pycache__/%{oname}*
857d0e
857d0e
%changelog
857d0e
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.6-25
857d0e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
857d0e
  Related: rhbz#1991688
857d0e
857d0e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.6-24
857d0e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
857d0e
857d0e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-23
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
857d0e
857d0e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-22
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
857d0e
857d0e
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-21
857d0e
- Rebuilt for Python 3.9
857d0e
857d0e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-20
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
857d0e
857d0e
* Fri Nov 29 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-19
857d0e
- Subpackages python2-inotify, python2-inotify-examples have been removed
857d0e
  See https://fedoraproject.org/wiki/Changes/RetirePython2
857d0e
857d0e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-18
857d0e
- Rebuilt for Python 3.8.0rc1 (#1748018)
857d0e
857d0e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-17
857d0e
- Rebuilt for Python 3.8
857d0e
857d0e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-16
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
857d0e
857d0e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-15
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
857d0e
857d0e
* Tue Nov 06 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-14
857d0e
- Only ship one executable (#1646926)
857d0e
857d0e
* Sun Jul 15 2018 Terje Rosten <terje.rosten@ntnu.no> - 0.9.4-14
857d0e
- Use correct python macros
857d0e
857d0e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-13
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
857d0e
857d0e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-12
857d0e
- Rebuilt for Python 3.7
857d0e
857d0e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-11
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
857d0e
857d0e
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.6-10
857d0e
- Update Python 2 dependency declarations to new packaging standards
857d0e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
857d0e
857d0e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-9
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
857d0e
857d0e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-8
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
857d0e
857d0e
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.9.6-7
857d0e
- rebuilt
857d0e
857d0e
* Tue Sep 20 2016 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6-6
857d0e
- Add entry point script
857d0e
857d0e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-5
857d0e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
857d0e
857d0e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-4
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
857d0e
857d0e
* Fri Nov 6 2015 Jakub Filak <jfilak@redhat.com> - 0.9.6-3
857d0e
- Rebuilt for Python3.5 rebuild
857d0e
857d0e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
857d0e
857d0e
* Thu Jun 04 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6-1
857d0e
- 0.9.6
857d0e
857d0e
* Mon Apr 13 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.9.5-1
857d0e
- 0.9.5
857d0e
857d0e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-6
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
857d0e
857d0e
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.4-5
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
857d0e
857d0e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-4
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
857d0e
857d0e
* Fri Feb 15 2013 Jakub Filak <jfilak@redhat.com> - 0.9.4-3
857d0e
- make with_python3 be conditional on fedora
857d0e
857d0e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
857d0e
857d0e
* Tue Dec 04 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.9.4-1
857d0e
- 0.9.4
857d0e
857d0e
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.9.3-3
857d0e
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
857d0e
857d0e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
857d0e
857d0e
* Wed Feb 01 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.9.3-1
857d0e
- 0.9.3
857d0e
857d0e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
857d0e
857d0e
* Mon May 02 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.9.2-1
857d0e
- 0.9.2
857d0e
857d0e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
857d0e
857d0e
* Mon Feb 07 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.9.1-1
857d0e
- 0.9.1
857d0e
857d0e
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.0-3
857d0e
- rebuild with python3.2
857d0e
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
857d0e
857d0e
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.0-2
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
857d0e
857d0e
* Sat Jun 19 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.0-1
857d0e
- 0.9.0
857d0e
- Add python 3 subpackage
857d0e
- License changed to MIT
857d0e
857d0e
* Sun Dec 06 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.8-1
857d0e
- 0.8.8
857d0e
857d0e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2.git20090518
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
857d0e
857d0e
* Mon May 18 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.6-1.git20090518
857d0e
- Update to latest git, fixing bz #500934.
857d0e
857d0e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2.git20090208
857d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
857d0e
857d0e
* Sun Feb  8 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1.git20090208
857d0e
- 0.8.1
857d0e
857d0e
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.8.0-4.r
857d0e
- Rebuild for Python 2.6
857d0e
857d0e
* Sun Jun 22 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-3.r
857d0e
- rebuild 
857d0e
857d0e
* Tue Jun 17 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-2.r
857d0e
- 0.8.0r
857d0e
- add wrapper in /usr/bin
857d0e
857d0e
* Mon Jun 16 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-1.q
857d0e
- 0.8.0q
857d0e
- Update url, license and source url
857d0e
857d0e
* Sat Feb  9 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-2
857d0e
- Rebuild
857d0e
857d0e
* Wed Aug 08 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-1
857d0e
- New upstream release: 0.7.1
857d0e
- Fix license tag
857d0e
857d0e
* Mon Jun 25 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-3
857d0e
- Remove autopath from example package (bz #237464)
857d0e
857d0e
* Tue Mar 27 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-2
857d0e
- Fix email address
857d0e
857d0e
* Tue Mar  6 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-1
857d0e
- Initial build
857d0e