rebuilt with -py3 and distdeps [release 0.9.6-2mamba;Sat May 29 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:26:09 +01:00
parent 0def9b9591
commit f1f257aab3

View File

@ -2,24 +2,21 @@
Name: python-pyinotify Name: python-pyinotify
Version: 0.9.6 Version: 0.9.6
Release: 1mamba Release: 2mamba
Summary: Linux filesystem events monitoring Summary: Linux filesystem events monitoring
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://trac.dbzteam.org/pyinotify URL: https://github.com/seb-m/pyinotify
Source: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz Source: https://pypi.debian.net/pyinotify/pyinotify-%{version}.tar.gz
Source1: python-pyinotify-script Source1: python-pyinotify-script
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-setuptools
Requires: python >= %python_version
Provides: python-inotify Provides: python-inotify
Obsoletes: python-inotify Obsoletes: python-inotify <= 0.9.6-1mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch BuildArch: noarch
%description %description
@ -31,16 +28,18 @@ Pyinotify binds these system calls and provides an implementation on top of them
%package doc %package doc
Group: Documentation Group: Documentation
Summary: Documentation package for %{name} Summary: Documentation package for %{name}
Requires: %{name} = %{?epoch:epoch:}%{version}-%{release}
%description doc %description doc
Pyinotify is a pure Python module used for monitoring filesystems events. Pyinotify is a pure Python module used for monitoring filesystems events.
Pyinotify relies on inotify, a Linux Kernel functionality (starting with kernel version 2.6.13). Pyinotify relies on inotify, a Linux Kernel functionality (starting with kernel version 2.6.13).
inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls. inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls.
Pyinotify binds these system calls and provides an implementation on top of them. Pyinotify binds these system calls and provides an implementation on top of them.
This package contains the documentation files. This package contains the documentation files.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep %prep
%setup -q -n pyinotify-%{version} %setup -q -n pyinotify-%{version}
@ -56,6 +55,8 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
## set encoding for documentation ## set encoding for documentation
#mv ChangeLog_old ChangeLog_old.iso88591 #mv ChangeLog_old ChangeLog_old.iso88591
#iconv -f iso88591 -t utf8 -o ChangeLog_old \ #iconv -f iso88591 -t utf8 -o ChangeLog_old \
@ -72,9 +73,11 @@ chmod 0755 %{buildroot}%{python_sitearch}/pyinotify.py
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pyinotify %{_bindir}/pyinotify
%dir %{python_sitearch}/pyinotify-%{version}-py*.egg-info
%{python_sitearch}/pyinotify-%{version}-py*.egg-info/*
%doc ACKS COPYING %doc ACKS COPYING
%files doc %files doc
@ -83,6 +86,9 @@ chmod 0755 %{buildroot}%{python_sitearch}/pyinotify.py
#%doc python%{python_majversion}/docstrings #%doc python%{python_majversion}/docstrings
%changelog %changelog
* Sat May 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
- rebuilt with -py3 and distdeps
* Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba * Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
- automatic version update by autodist - automatic version update by autodist