From 73b575ea0c6d6b4f22715b2bd4a6ef02519f261e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 11 Jan 2019 13:38:59 +0100 Subject: [PATCH] Enable python dependency generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko --- pywbem.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pywbem.spec b/pywbem.spec index de0aad2..c1948a0 100644 --- a/pywbem.spec +++ b/pywbem.spec @@ -1,3 +1,4 @@ +%{?python_enable_dependency_generator} %global py2_build_dir %{_builddir}/%{name}-%{version}-%{release}-python2 %if 0%{?rhel} > 7 || 0%{?fedora} > 28 @@ -8,9 +9,8 @@ Name: pywbem Version: 0.12.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python WBEM client interface and related utilities -Group: Development/Libraries License: LGPLv2 URL: https://github.com/pywbem/pywbem Source0: https://github.com/pywbem/pywbem/archive/v%{version}/%{name}-%{version}.tar.gz @@ -53,10 +53,8 @@ Obsoletes: pywbem < %{version}-%{release} %endif %package -n python3-pywbem -Group: Development/Libraries Summary: Python3 WBEM Client and Provider Interface BuildArch: noarch -Requires: python3-PyYAML python3-six python3-ply python3-mock python3-pbr %description -n python3-pywbem A WBEM client allows issuing operations to a WBEM server, using the CIM @@ -67,7 +65,6 @@ for more information about WBEM. %if %{with python2} %package twisted -Group: Development/Libraries Summary: WBEM client bindings for Twisted Python Requires: python2-twisted Requires: %{name} = %{version}-%{release} @@ -136,6 +133,9 @@ rm -rf %{buildroot}/usr/bin/*.bat %doc README.rst %changelog +* Fri Jan 11 2019 Igor Gnatenko - 0.12.6-2 +- Enable python dependency generator + * Wed Dec 26 2018 Gris Ge - 0.12.6-1 - Upgrade to 0.12.6