File growpart-rootgrow.spec of Package growpart-rootgrow.20448

# spec file for package growpart-rootgrow
# Copyright (c) 2021 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

Name:             growpart-rootgrow
Version:          1.0.4
Release:          0
Summary:          Simple Wrapper for growpart
License:          GPL-3.0+
Group:            System/Management
Source:           growpart-rootgrow.tar.gz
BuildRoot:        %{_tmppath}/%{name}-%{version}-build
BuildRequires:    python3-devel
BuildRequires:    python3-setuptools
BuildRequires:    systemd-rpm-macros
Requires:         python3-setuptools
Requires:         util-linux
Requires(preun):  systemd
Requires(postun): systemd
BuildArch:        noarch

A simple wrapper implementation for growpart

%setup -q -n rootgrow-%{version}

python3 build

python3 install --prefix=%{_prefix} --root=%{buildroot}

install -D -m 644 systemd/rootgrow.service \

install -D -m 644 LICENSE \

%dir %{_defaultdocdir}/growpart-rootgrow

openSUSE Build Service is sponsored by