diff --git a/python-inotify.spec b/python-inotify.spec index 071f420..ae385f2 100644 --- a/python-inotify.spec +++ b/python-inotify.spec @@ -3,7 +3,7 @@ Summary: Monitor filesystem events with Python under Linux Name: python-inotify Version: 0.9.6 -Release: 13%{?dist} +Release: 14%{?dist} License: MIT Group: Development/Libraries URL: https://github.com/seb-m/pyinotify @@ -52,11 +52,12 @@ pushd %{py3dir} popd %install +%py2_install + pushd %{py3dir} +rm %{buildroot}%{_bindir}/%{oname} %py3_install -mv %{buildroot}%{_bindir}/%{oname} %{buildroot}%{_bindir}/python3-%{oname} popd -%py2_install # examples install -d -m 0755 %{buildroot}%{_datadir}/%{oname} @@ -65,7 +66,6 @@ cp -a python2/examples/* %{buildroot}%{_datadir}/%{oname} %files -n python2-inotify %license COPYING %doc ACKS README.md -%{_bindir}/%{oname} %{python2_sitelib}/%{oname}* %files -n python2-inotify-examples @@ -75,11 +75,14 @@ cp -a python2/examples/* %{buildroot}%{_datadir}/%{oname} %files -n python3-inotify %license COPYING %doc ACKS README.md -%{_bindir}/python3-%{oname} +%{_bindir}/%{oname} %{python3_sitelib}/%{oname}* %{python3_sitelib}/__pycache__/%{oname}* %changelog +* Tue Nov 06 2018 Miro HronĨok - 0.9.6-14 +- Only ship one executable (#1646926) + * Sun Jul 15 2018 Terje Rosten - 0.9.4-14 - Use correct python macros