From 47b6a4192e4e873bef25d66d9bafb3b2f04c6afd54c91bfd0588d285aa8c5df2 Mon Sep 17 00:00:00 2001 From: Raymund Will Date: Fri, 22 Jun 2018 15:30:32 +0000 Subject: [PATCH] Fixup spec-file issues... OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ipmctl?expand=0&rev=4 --- ipmctl-01.00.00.3091.tar.gz | 3 -- ipmctl.rpmlintrc | 3 ++ ipmctl.spec | 90 ++++++++++++++++++++++--------------- v01.00.00.3091.tar.gz | 3 ++ 4 files changed, 60 insertions(+), 39 deletions(-) delete mode 100644 ipmctl-01.00.00.3091.tar.gz create mode 100644 ipmctl.rpmlintrc create mode 100644 v01.00.00.3091.tar.gz diff --git a/ipmctl-01.00.00.3091.tar.gz b/ipmctl-01.00.00.3091.tar.gz deleted file mode 100644 index 57c8b39..0000000 --- a/ipmctl-01.00.00.3091.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5deb0b576f2293d588b523696988e4067c4747a067745ac4ca02a511bd7fb867 -size 10606714 diff --git a/ipmctl.rpmlintrc b/ipmctl.rpmlintrc new file mode 100644 index 0000000..a3776d2 --- /dev/null +++ b/ipmctl.rpmlintrc @@ -0,0 +1,3 @@ +# See : +# -- Replace a package by another with the same functionality +addFilter(".*obsolete-not-provided ") diff --git a/ipmctl.spec b/ipmctl.spec index fc5c828..8cc79a6 100644 --- a/ipmctl.spec +++ b/ipmctl.spec @@ -1,21 +1,39 @@ +# +# spec file for package ipmctl +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + %define _unpackaged_files_terminate_build 1 -Name: ipmctl -Version: 01.00.00.3091 -Release: 1%{?dist} -Summary: Utility for managing Intel Optane DC persistent memory modules -License: BSD-3-Clause -Group: System/Management -URL: https://github.com/intel/ipmctl -Source: https://github.com/intel/ipmctl/releases/download/v%{version}/%{name}-%{version}.tar.gz -ExclusiveArch: x86_64 +Name: ipmctl +Version: 01.00.00.3091 +Release: 1%{?dist} +Summary: Utility for managing Intel Optane DC persistent memory modules +License: BSD-3-Clause +Group: System/Management +Url: https://github.com/intel/ipmctl +Source: https://github.com/intel/ipmctl/archive/v%{version}.tar.gz +ExclusiveArch: x86_64 -Requires: libipmctl2%{?_isa} = %{version}-%{release} -BuildRequires: pkgconfig(libndctl) -BuildRequires: cmake -BuildRequires: python2 -BuildRequires: gcc-c++ -Obsoletes: ixpdimm-cli < 01.00.00.3000 +Requires: libipmctl2%{?_isa} = %{version}-%{release} +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: python2 +BuildRequires: pkgconfig(libndctl) +Obsoletes: ixpdimm-cli < 01.00.00.3000 %description Utility for managing Intel Optane DC persistent memory modules @@ -32,38 +50,38 @@ Debug and troubleshoot PMMs. %setup -q -n %{name}-%{version} %package -n ipmctl-monitor -Summary: Daemon for monitoring the status of Intel PMM -Group: System/Monitoring -Requires: libipmctl2%{?_isa} = %{version}-%{release} +Summary: Daemon for monitoring the status of Intel PMM +Group: System/Monitoring +Requires: libipmctl2%{?_isa} = %{version}-%{release} %{?systemd_requires} -BuildRequires: systemd -BuildRequires: systemd-rpm-macros -Obsoletes: ixpdimm-monitor < 01.00.00.3000 +BuildRequires: systemd +BuildRequires: systemd-rpm-macros +Obsoletes: ixpdimm-monitor < 01.00.00.3000 %description -n ipmctl-monitor A monitor daemon for monitoring the health and status of Intel Optane DC persistent memory modules %package -n libipmctl2 -Summary: Library for Intel PMM management -Group: System/Libraries -Requires: libndctl6 >= 58.2 -Obsoletes: ixpdimm_sw < 01.00.00.3000 -Obsoletes: libixpdimm-common < 01.00.00.3000 -Obsoletes: libixpdimm-core < 01.00.00.3000 -Obsoletes: libixpdimm-cli < 01.00.00.3000 -Obsoletes: libixpdimm-cim < 01.00.00.3000 -Obsoletes: libixpdimm < 01.00.00.3000 -Obsoletes: ixpdimm-data < 01.00.00.3000 +Summary: Library for Intel PMM management +Group: System/Libraries +Requires: libndctl6 >= 58.2 +Obsoletes: ixpdimm-data < 01.00.00.3000 +Obsoletes: ixpdimm_sw < 01.00.00.3000 +Obsoletes: libixpdimm < 01.00.00.3000 +Obsoletes: libixpdimm-cim < 01.00.00.3000 +Obsoletes: libixpdimm-cli < 01.00.00.3000 +Obsoletes: libixpdimm-common < 01.00.00.3000 +Obsoletes: libixpdimm-core < 01.00.00.3000 %description -n libipmctl2 An Application Programming Interface (API) library for managing Intel Optane DC persistent memory modules. %package -n libipmctl-devel -Summary: Development packages for libipmctl -Group: Development/Libraries/C and C++ -Requires: libipmctl2%{?_isa} = %{version}-%{release} -Obsoletes: ixpdimm-devel < 01.00.00.3000 -Obsoletes: ixpdimm_sw-devel < 01.00.00.3000 +Summary: Development packages for libipmctl +Group: Development/Libraries/C and C++ +Requires: libipmctl2%{?_isa} = %{version}-%{release} +Obsoletes: ixpdimm-devel < 01.00.00.3000 +Obsoletes: ixpdimm_sw-devel < 01.00.00.3000 %description -n libipmctl-devel API for development of Intel Optane DC persistent memory management utilities. diff --git a/v01.00.00.3091.tar.gz b/v01.00.00.3091.tar.gz new file mode 100644 index 0000000..918e0c8 --- /dev/null +++ b/v01.00.00.3091.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a65cbfae1fec644c4c6e256abba06e2783e6b0563c8d1d812eb430235534fc9 +size 10337455