spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
8ab30630c0
commit
eab1829f51
@ -9,7 +9,7 @@ URL: https://github.com/seb-m/pyinotify
|
||||
Source0: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
|
||||
Patch01: pyinotify-0.9.6-epoint.patch
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildArch: noarch
|
||||
%global _description \
|
||||
This is a Python module for watching filesystems changes. pyinotify \
|
||||
@ -18,10 +18,10 @@ is an event-driven notifier, where notifications are exported from \
|
||||
kernel space to user space.
|
||||
%description %_description
|
||||
|
||||
%package -n python3-inotify
|
||||
%package -n python%{python3_pkgversion}-inotify
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-inotify}
|
||||
%description -n python3-inotify %_description
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-inotify}
|
||||
%description -n python%{python3_pkgversion}-inotify %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{oname}-%{version}
|
||||
@ -34,7 +34,7 @@ sed -i '1c#! %{__python3}' python3/pyinotify.py
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-inotify
|
||||
%files -n python%{python3_pkgversion}-inotify
|
||||
%license COPYING
|
||||
%doc ACKS README.md
|
||||
%{_bindir}/%{oname}
|
||||
|
Loading…
Reference in New Issue
Block a user