File bumpversion.spec of Package bumpversion

# spec file for package bumpversion
# Copyright (c) 2017 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:           bumpversion
Version:        0.5.3
Release:        0
Summary:        Version-bump your software with a single command
License:        MIT
Group:          Development/Tools/Version Control
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Provides:       python-bumpversion = %version
Obsoletes:      python-bumpversion < %version
BuildArch:      noarch

Version-bump your software with a single command!

bumpversion updates all version strings in your source tree by the correct
increment, commits that change to git or Mercurial and tags it.

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

python3 build

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

%doc README.rst

openSUSE Build Service is sponsored by