diff --git a/ipmctl.changes b/ipmctl.changes index 4f9f3af..afe484d 100644 --- a/ipmctl.changes +++ b/ipmctl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 10 14:28:25 UTC 2018 - rw@suse.com + +- Remove build dependency on python2. [bsc#1111020] + ------------------------------------------------------------------- Fri Aug 10 15:28:34 UTC 2018 - rw@suse.com diff --git a/ipmctl.spec b/ipmctl.spec index 391a1ea..48e92d7 100644 --- a/ipmctl.spec +++ b/ipmctl.spec @@ -15,25 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ipmctl Version: 01.00.00.3102 Release: 0 Summary: Utility for managing Intel Optane DC persistent memory modules License: BSD-3-Clause Group: System/Management -URL: https://github.com/intel/ipmctl +Url: https://github.com/intel/ipmctl Source: https://github.com/intel/ipmctl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc Patch1: ipmctl-fix-SLE12-build.patch Requires: libipmctl2%{?_isa} = %{version}-%{release} +BuildRequires: %{pythons} BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: python2 BuildRequires: pkgconfig -BuildRequires: pkgconfig(libndctl) BuildRequires: systemd BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(libndctl) Obsoletes: ixpdimm-cli < 01.00.00.3000 ExclusiveArch: x86_64 @@ -48,10 +49,6 @@ Supports functionality to: * Track performance of PMMs. * Debug and troubleshoot PMMs. -%prep -%setup -q -n %{name}-%{version} -%patch1 -p1 - %package -n ipmctl-monitor Summary: Daemon for monitoring the status of Intel PMM Group: System/Monitoring @@ -94,6 +91,10 @@ Obsoletes: ixpdimm_sw-devel < 01.00.00.3000 %description -n ipmctl-devel API for development of Intel Optane DC persistent memory management utilities. +%prep +%setup -q -n %{name}-%{version} +%patch1 -p1 + %build %cmake -DBUILDNUM=%{version} -DCMAKE_INSTALL_PREFIX=/ \ -DLINUX_PRODUCT_NAME=%{name} \