Dominique Leuenberger 2023-05-30 20:03:02 +00:00 committed by Git OBS Bridge
commit 2ee2acf99b
6 changed files with 30 additions and 14 deletions

View File

@ -3,8 +3,8 @@
<param name="url">https://github.com/openSUSE/release-compare.git</param>
<param name="scm">git</param>
<param name="version">0.5.6</param>
<param name="revision">0.5.6</param>
<param name="version">0.9.0</param>
<param name="revision">0.9.0</param>
<param name="extract">release-compare.spec</param>
</service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25cbc8450398f9dba113999892dacdcf720fd2a301fb25e397ee9fdca6ab3c40
size 46090

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d0cb3b280757d57bec6ef3f588bc0a7d847570aa8712cf8eb39830a020b8f51
size 81419

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri May 26 15:05:28 UTC 2023 - Joachim Gleissner <jgleissner@suse.com>
- 0.9.0
* Re-write of create_changelog in python
* Support for JSON output
* Support for handling image config changelog (image history) as
produced by keg OBS source service (JSON and YAML formats supported)
* Support for including full package list in change log
* Parse version number for selecting most recent old obsgendiff
(avoids mismatches)
* Add configuration options via _release_compare in package source
-------------------------------------------------------------------
Tue May 17 14:53:30 UTC 2022 - Joachim Gleissner <jgleissner@suse.com>

View File

@ -1,4 +1,4 @@
name: release-compare
version: 0.5.6
mtime: 1651472540
commit: ff3235f233bfc4274e1109b85cfc591c8de716ef
version: 0.9.0
mtime: 1685111718
commit: b5ee192915699eda95faa39930c384c774bb9cae

View File

@ -1,7 +1,7 @@
#
# spec file for package release-compare
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,10 +21,14 @@ Summary: Release Compare Script
License: GPL-3.0-or-later
Group: Development/Tools/Building
URL: https://github.com/openSUSE/release-compare
Version: 0.5.6
Version: 0.9.0
Release: 0
Source: %name-%version.tar.xz
BuildArch: noarch
Requires: python3-PyYAML
BuildRequires: python3-PyYAML
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
%description
This package contains scripts to create changelog files relative
@ -39,15 +43,14 @@ Note: you need to use a releasetarget definition in your OBS repository
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/build/obsgendiff.d $RPM_BUILD_ROOT/%_defaultdocdir/%name
install -m 0755 create_changelog $RPM_BUILD_ROOT/usr/lib/build/obsgendiff.d/
make DESTDIR=%{buildroot} PREFIX=%{_prefix}
%check
# basic syntax check
bash -n $RPM_BUILD_ROOT/usr/lib/build/obsgendiff.d/create_changelog || exit 1
pytest
%files
%license LICENSE
%doc README.rst
/usr/lib/build
%changelog