2020-03-25 12:07:41 +01:00
|
|
|
#
|
2020-03-25 12:12:05 +01:00
|
|
|
# spec file for package release-compare
|
2020-03-25 12:07:41 +01:00
|
|
|
#
|
2023-05-30 13:59:55 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2020-03-25 12:07:41 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-03-25 12:12:05 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2020-03-25 12:07:41 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: release-compare
|
|
|
|
Summary: Release Compare Script
|
2020-09-01 09:02:19 +02:00
|
|
|
License: GPL-3.0-or-later
|
2020-03-25 12:07:41 +01:00
|
|
|
Group: Development/Tools/Building
|
2020-03-25 12:12:05 +01:00
|
|
|
URL: https://github.com/openSUSE/release-compare
|
2023-06-13 13:39:21 +02:00
|
|
|
Version: 0.9.1
|
2020-03-25 12:07:41 +01:00
|
|
|
Release: 0
|
2020-09-01 10:58:36 +02:00
|
|
|
Source: %name-%version.tar.xz
|
2020-03-25 12:07:41 +01:00
|
|
|
BuildArch: noarch
|
2023-05-30 13:59:55 +02:00
|
|
|
Requires: python3-PyYAML
|
2023-06-13 13:39:21 +02:00
|
|
|
Requires: python3-setuptools
|
2023-05-30 13:59:55 +02:00
|
|
|
BuildRequires: python3-PyYAML
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-setuptools
|
2020-03-25 12:07:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains scripts to create changelog files relative
|
|
|
|
to last released result.
|
|
|
|
|
|
|
|
Note: you need to use a releasetarget definition in your OBS repository
|
|
|
|
to get this working. And the release target needs to have published binaries.
|
|
|
|
|
|
|
|
%prep
|
2020-09-01 10:58:36 +02:00
|
|
|
%setup -q
|
2020-03-25 12:07:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2023-05-30 13:59:55 +02:00
|
|
|
make DESTDIR=%{buildroot} PREFIX=%{_prefix}
|
2020-03-25 12:07:41 +01:00
|
|
|
|
2020-08-28 13:59:32 +02:00
|
|
|
%check
|
2023-05-30 13:59:55 +02:00
|
|
|
pytest
|
2020-08-28 13:59:32 +02:00
|
|
|
|
2020-03-25 12:07:41 +01:00
|
|
|
%files
|
2020-09-01 09:02:19 +02:00
|
|
|
%license LICENSE
|
2023-05-30 13:59:55 +02:00
|
|
|
%doc README.rst
|
2020-03-25 12:07:41 +01:00
|
|
|
/usr/lib/build
|
|
|
|
|
|
|
|
%changelog
|