Disable platform python on old releases
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
41be9f6ac7
commit
e649740213
@ -17,7 +17,11 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
|
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
|
||||||
%bcond_without platform_python
|
%bcond_without platform_python
|
||||||
|
%else
|
||||||
|
%bcond_with platform_python
|
||||||
|
%endif
|
||||||
|
|
||||||
%global _cmake_opts \\\
|
%global _cmake_opts \\\
|
||||||
-DENABLE_RHSM_SUPPORT=%{?with_rhsm:ON}%{!?with_rhsm:OFF} \\\
|
-DENABLE_RHSM_SUPPORT=%{?with_rhsm:ON}%{!?with_rhsm:OFF} \\\
|
||||||
@ -25,7 +29,7 @@
|
|||||||
|
|
||||||
Name: libdnf
|
Name: libdnf
|
||||||
Version: 0.9.3
|
Version: 0.9.3
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Library providing simplified C and Python API to libsolv
|
Summary: Library providing simplified C and Python API to libsolv
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/rpm-software-management/libdnf
|
URL: https://github.com/rpm-software-management/libdnf
|
||||||
@ -235,6 +239,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 15 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.3-8
|
||||||
|
- Disable platform python on old releases
|
||||||
|
|
||||||
* Tue Aug 15 2017 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-7
|
* Tue Aug 15 2017 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-7
|
||||||
- Add platform-python subpackage
|
- Add platform-python subpackage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user