Accepting request 669947 from hardware:nvdimm

OBS-URL: https://build.opensuse.org/request/show/669947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipmctl?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-02-01 10:45:47 +00:00 committed by Git OBS Bridge
commit 5c07045680
5 changed files with 28 additions and 11 deletions

View File

@ -4,6 +4,7 @@
<param name="url">https://github.com/intel/ipmctl.git</param>
<param name="filename">ipmctl</param>
<param name="versionprefix">01.00.00.3394</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="revision">master_1_0</param>
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4857fd0cadbc8d27049aeb08fc03c3a7e74d11863420b1a151b22569a3b55383
size 10836351

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c076446c1414d2f2bc80d3ff16abfaed1cd231415408a7af2be5355af1065e0
size 10456674

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 29 14:03:31 UTC 2019 - rw@suse.com
- Update to v01.00.00.3402.
Switch to release tarball, no content changes.
- Improve spec-file.
-------------------------------------------------------------------
Fri Jan 21 10:42:00 UTC 2019 - rw@suse.com

View File

@ -17,23 +17,27 @@
%define abi 3
%define vgit .1547861714.b7a59da
#define vgit .1547861714.b7a59da
%define vgit %{nil}
%define vSafeC 03032018
%define pSafeC rurban/safeclib/releases/download/v%{vSafeC}
%bcond_with precompiledSafeC
Name: ipmctl
Version: 01.00.00.3394
Version: 01.00.00.3402
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
#SIC!e: https://github.com/intel/ipmctl/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
%if "%{vgit}" == ""
Source: https://github.com/intel/ipmctl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%else
Source: %{name}-%{version}%{vgit}.tar.gz
%endif
Source1: ChangeLog.xz
Source2: %{name}-rpmlintrc
Source10: https://github.com/%{pSafeC}/libsafec-%{vSafeC}.0-g570fa5.tar.gz
#SIC!e10: libsafec-prebuild.tar.xz
Source11: mkSafeC
Source12: libsafec-patches.tar
Patch1: ipmctl-python3.patch
@ -56,10 +60,13 @@ BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
# no 'Conflicts' for 'zypper patch'
Obsoletes: lib%{name}2
# for impctl
Obsoletes: ixpdimm-cli < 01.00.00.3000
# for (obsoleted) libipmctl2 et.al.
Obsoletes: ixpdimm-data < 01.00.00.3000
Obsoletes: ixpdimm_sw < 01.00.00.3000
Obsoletes: lib%{name}2
Obsoletes: libixpdimm < 01.00.00.3000
Obsoletes: libixpdimm-cim < 01.00.00.3000
Obsoletes: libixpdimm-cli < 01.00.00.3000
@ -102,9 +109,11 @@ API for development of Intel Optane DC persistent memory management utilities.
%setup -q -n %{name}-%{version}%{vgit} -a 10
%patch1 -p1
LICENSE_VIOLATIONS_IN=$(find . -type f -print0 | sort -z |
xargs -0r grep -li 'INTEL CONFIDENTIAL' || true)
[ -z "$LICENSE_VIOLATIONS_IN" ]
! grep -lri 'INTEL CONFIDENTIAL' || exit 1
%if %{with precompiledSafeC}
tar xfJ ../../SOURCES/libsafec-prebuild.tar.xz || sleep 5
%endif
%build
/bin/bash -ex "%{SOURCE11}" "%{SOURCE12}" "%{?_smp_mflags}"