Blame SPECS/python-watchdog.spec

d11962
%global modname watchdog
d11962
d11962
Name:               python-%{modname}
d11962
Version:            2.1.3
d11962
Release:            3%{?dist}
d11962
Summary:            File system events monitoring
d11962
d11962
License:            ASL 2.0 and BSD and MIT
d11962
URL:                https://pypi.org/project/watchdog/
d11962
Source0:            %pypi_source %{modname}
d11962
BuildArch:          noarch
d11962
d11962
%description
d11962
A Python API and shell utilities to monitor file system events.
d11962
d11962
%package -n python3-%{modname}
d11962
Summary:            %{summary}
d11962
d11962
BuildArch:          noarch
d11962
d11962
BuildRequires:      python3-devel
d11962
BuildRequires:      python3-setuptools
d11962
BuildRequires:      python3-pytest
d11962
BuildRequires:      python3-pytest-cov
d11962
BuildRequires:      python3-pytest-rerunfailures
d11962
BuildRequires:      python3-pytest-timeout
d11962
BuildRequires:      python3-PyYAML >= 3.09
d11962
BuildRequires:      python3-argh >= 0.8.1
d11962
d11962
%description -n python3-%{modname}
d11962
A Python API and shell utilities to monitor file system events.
d11962
d11962
%prep
d11962
%setup -q -n %{modname}-%{version}
d11962
# Remove all shebangs
d11962
find src -name "*.py" | xargs sed -i -e '/^#!\//, 1d'
d11962
# Remove +x of the README file
d11962
chmod -x README.rst
d11962
# Remove bundled egg-info in case it exists
d11962
rm -rf %{modname}.egg-info
d11962
d11962
%build
d11962
%py3_build
d11962
d11962
%install
d11962
%py3_install
d11962
d11962
%check
d11962
%pytest -v
d11962
d11962
%files -n python3-%{modname}
d11962
%doc README.rst
d11962
%license LICENSE
d11962
%{python3_sitelib}/%{modname}/
d11962
%{python3_sitelib}/%{modname}-%{version}-*/
d11962
%{_bindir}/watchmedo*
d11962
d11962
%changelog
d11962
* Thu Sep 16 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 2.1.3-3
d11962
- rebuild with git+lookaside
d11962
d11962
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
d11962
- Second attempt - Rebuilt for
d11962
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d11962
d11962
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.2-5
d11962
- Rebuilt for Python 3.10
d11962
d11962
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-4
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d11962
d11962
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-3
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d11962
d11962
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-2
d11962
- Rebuilt for Python 3.9
d11962
d11962
* Tue Feb 18 2020 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.10.2-1
d11962
- Update to the upstream release 0.10.2
d11962
- Use the pypi_source macro for Source0
d11962
d11962
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-15
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d11962
d11962
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-14
d11962
- Rebuilt for Python 3.8.0rc1 (#1748018)
d11962
d11962
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-13
d11962
- Rebuilt for Python 3.8
d11962
d11962
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-12
d11962
- Remove python2-watchdog
d11962
d11962
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-11
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d11962
d11962
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-10
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d11962
d11962
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-9
d11962
- Rebuilt for Python 3.7
d11962
d11962
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.3-8
d11962
- Update Python 2 dependency declarations to new packaging standards
d11962
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d11962
d11962
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-7
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d11962
d11962
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-6
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d11962
d11962
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d11962
d11962
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-4
d11962
- Rebuild for Python 3.6
d11962
d11962
* Mon Aug 15 2016 Julien Enselme <jujens@jujens.eu> - 0.8.3-3
d11962
- Add python-pytest-timeout to BR to launch tests
d11962
d11962
* Thu Aug 12 2016 Julien Enselme <jujens@jujens.eu> - 0.8.3-2
d11962
- Add python2-pathtools to BR (was two times in Requires)
d11962
d11962
* Thu Aug 11 2016 Julien Enselme <jujens@jujens.eu> - 0.8.3-1
d11962
- Update to 0.8.3
d11962
- Correct requires
d11962
- Update to follow new Python packaging guidelines
d11962
- Always build with Python 3
d11962
d11962
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-5
d11962
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d11962
d11962
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d11962
d11962
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
d11962
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d11962
d11962
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
d11962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d11962
d11962
* Sat Nov 22 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.8.2-1
d11962
- Update to 0.8.2
d11962
d11962
* Fri Apr 25 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7.1-4
d11962
- Adjust the license tag to ASL2.0 and BSD and MIT
d11962
d11962
* Fri Apr 18 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7.1-3
d11962
- Adjust the check for Fedora/RHEL release number for the py3 package
d11962
d11962
* Fri Apr 18 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7.1-2
d11962
- Remove all shebang of the python files
d11962
d11962
* Fri Apr 18 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7.1-1
d11962
- initial package for Fedora