Name: python-reload Version: 0.9 Release: 3mamba Summary: Starts given program and reloads it whenever any file in current directory changes Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/loomchild/reload Source: https://pypi.debian.net/reload/reload-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if 0%{?with_pyver} %define py_requires_append \ Obsoletes: python-reload-py36 <= 0.9-1mamba \ Requires: python-watchdog%{?pyappend:-%pyappend} %pyver_package %endif %prep %setup -q -n reload-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist %if "0%{?with_pyver}" == "0" sed -i "/\.py[co]$/d" %{name}.filelist %endif %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %changelog * Sun Jan 03 2021 Silvan Calarco 0.9-3mamba - obsolete -py36 pakcage and require python-watchdog * Sun Jan 03 2021 Silvan Calarco 0.9-2mamba - rebuilt with -py3 * Sat Mar 02 2019 Silvan Calarco 0.9-1mamba - package created using the webbuild interface