diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index 1e3647c..7df205d 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -178,29 +178,15 @@ DNF plugin for Qubes specific post-installation actions: * notify dom0 that updates were installed * refresh applications shortcut list -%if 0%{fedora} >= 23 -%package -n python3-dnf-plugins-qubes-hooks +%package -n python%{python3_pkgversion}-dnf-plugins-qubes-hooks Summary: DNF plugin for Qubes specific post-installation actions -BuildRequires: python3-devel -%{?python_provide:%python_provide python3-dnf-plugins-qubes-hooks} +BuildRequires: python%{python3_pkgversion}-devel +%{?python_provide:%python_provide python%{python3_pkgversion}-dnf-plugins-qubes-hooks} -%description -n python3-dnf-plugins-qubes-hooks +%description -n python%{python3_pkgversion}-dnf-plugins-qubes-hooks DNF plugin for Qubes specific post-installation actions: * notify dom0 that updates were installed * refresh applications shortcut list -%endif - -%if 0%{?rhel} >= 7 -%package -n python34-dnf-plugins-qubes-hooks -Summary: DNF plugin for Qubes specific post-installation actions -BuildRequires: python34-devel -%{?python_provide:%python_provide python34-dnf-plugins-qubes-hooks} - -%description -n python34-dnf-plugins-qubes-hooks -DNF plugin for Qubes specific post-installation actions: - * notify dom0 that updates were installed - * refresh applications shortcut list -%endif %package -n qubes-core-agent-thunar Summary: Thunar support for Qubes VM tools