|
|
4f68fd |
From d05b447617084bbd9672aa60d5cba290508956b8 Mon Sep 17 00:00:00 2001
|
|
|
4f68fd |
From: David Lehman <dlehman@redhat.com>
|
|
|
4f68fd |
Date: Mon, 25 Mar 2019 14:30:36 -0400
|
|
|
4f68fd |
Subject: [PATCH 2/8] Adjust rpm spec file to new blivet3 name.
|
|
|
4f68fd |
|
|
|
4f68fd |
---
|
|
|
4f68fd |
python-blivet.spec | 18 +++++++-----------
|
|
|
4f68fd |
1 file changed, 7 insertions(+), 11 deletions(-)
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/python-blivet.spec b/python-blivet.spec
|
|
|
4f68fd |
index 0f20e499..883ba9b8 100644
|
|
|
4f68fd |
--- a/python-blivet.spec
|
|
|
4f68fd |
+++ b/python-blivet.spec
|
|
|
4f68fd |
@@ -17,7 +17,7 @@
|
|
|
4f68fd |
%endif
|
|
|
4f68fd |
|
|
|
4f68fd |
Summary: A python module for system storage configuration
|
|
|
4f68fd |
-Name: python-blivet
|
|
|
4f68fd |
+Name: python-blivet3
|
|
|
4f68fd |
Url: https://storageapis.wordpress.com/projects/blivet
|
|
|
4f68fd |
Version: 3.1.3
|
|
|
4f68fd |
|
|
|
4f68fd |
@@ -27,9 +27,9 @@ Release: 1%{?prerelease}%{?dist}
|
|
|
4f68fd |
Epoch: 1
|
|
|
4f68fd |
License: LGPLv2+
|
|
|
4f68fd |
Group: System Environment/Libraries
|
|
|
4f68fd |
-%global realname blivet
|
|
|
4f68fd |
+%global realname blivet3
|
|
|
4f68fd |
%global realversion %{version}%{?prerelease}
|
|
|
4f68fd |
-Source0: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}.tar.gz
|
|
|
4f68fd |
+Source0: http://github.com/storaged-project/blivet/archive/blivet-%{realversion}.tar.gz
|
|
|
4f68fd |
|
|
|
4f68fd |
# Versions of required components (done so we make sure the buildrequires
|
|
|
4f68fd |
# match the requires versions of things).
|
|
|
4f68fd |
@@ -51,9 +51,6 @@ Summary: Data for the %{realname} python module.
|
|
|
4f68fd |
|
|
|
4f68fd |
BuildRequires: systemd
|
|
|
4f68fd |
|
|
|
4f68fd |
-Conflicts: python-blivet < 1:2.0.0
|
|
|
4f68fd |
-Conflicts: python3-blivet < 1:2.0.0
|
|
|
4f68fd |
-
|
|
|
4f68fd |
%description -n %{realname}-data
|
|
|
4f68fd |
The %{realname}-data package provides data files required by the %{realname}
|
|
|
4f68fd |
python module.
|
|
|
4f68fd |
@@ -75,19 +72,19 @@ Requires: parted >= %{partedver}
|
|
|
4f68fd |
Requires: python3-pyparted >= %{pypartedver}
|
|
|
4f68fd |
Requires: libselinux-python3
|
|
|
4f68fd |
Requires: python3-blockdev >= %{libblockdevver}
|
|
|
4f68fd |
+%if 0%{?rhel} > 7 || 0%{?fedora}
|
|
|
4f68fd |
Recommends: libblockdev-btrfs >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-crypto >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-dm >= %{libblockdevver}
|
|
|
4f68fd |
-Recommends: libblockdev-fs >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-kbd >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-loop >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-lvm >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-mdraid >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-mpath >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-nvdimm >= %{libblockdevver}
|
|
|
4f68fd |
-Recommends: libblockdev-part >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-swap >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-s390 >= %{libblockdevver}
|
|
|
4f68fd |
+%endif
|
|
|
4f68fd |
Requires: python3-bytesize >= %{libbytesizever}
|
|
|
4f68fd |
Requires: util-linux >= %{utillinuxver}
|
|
|
4f68fd |
Requires: lsof
|
|
|
4f68fd |
@@ -126,6 +123,7 @@ Requires: parted >= %{partedver}
|
|
|
4f68fd |
Requires: python2-pyparted >= %{pypartedver}
|
|
|
4f68fd |
Requires: python2-libselinux
|
|
|
4f68fd |
Requires: python2-blockdev >= %{libblockdevver}
|
|
|
4f68fd |
+%if 0%{?rhel} > 7 || 0%{?fedora}
|
|
|
4f68fd |
Recommends: libblockdev-btrfs >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-crypto >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-dm >= %{libblockdevver}
|
|
|
4f68fd |
@@ -139,6 +137,7 @@ Recommends: libblockdev-nvdimm >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-part >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-swap >= %{libblockdevver}
|
|
|
4f68fd |
Recommends: libblockdev-s390 >= %{libblockdevver}
|
|
|
4f68fd |
+%endif
|
|
|
4f68fd |
Requires: python2-bytesize >= %{libbytesizever}
|
|
|
4f68fd |
Requires: util-linux >= %{utillinuxver}
|
|
|
4f68fd |
Requires: lsof
|
|
|
4f68fd |
@@ -148,9 +147,6 @@ Requires: %{realname}-data = %{epoch}:%{version}-%{release}
|
|
|
4f68fd |
Requires: systemd-udev
|
|
|
4f68fd |
Requires: python2-gobject-base
|
|
|
4f68fd |
|
|
|
4f68fd |
-Obsoletes: blivet-data < 1:2.0.0
|
|
|
4f68fd |
-Obsoletes: python-blivet < 1:2.0.0
|
|
|
4f68fd |
-
|
|
|
4f68fd |
%description -n python2-%{realname}
|
|
|
4f68fd |
The python2-%{realname} is a python2 package for examining and modifying storage
|
|
|
4f68fd |
configuration.
|
|
|
4f68fd |
--
|
|
|
4f68fd |
2.17.2
|
|
|
4f68fd |
|