diff --git a/_service b/_service index 7bdaf6c..3cd18f8 100644 --- a/_service +++ b/_service @@ -3,8 +3,8 @@ https://github.com/openSUSE/release-compare.git git - 0.5.6 - 0.5.6 + 0.9.0 + 0.9.0 release-compare.spec diff --git a/release-compare-0.5.6.obscpio b/release-compare-0.5.6.obscpio deleted file mode 100644 index 75c7ec0..0000000 --- a/release-compare-0.5.6.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25cbc8450398f9dba113999892dacdcf720fd2a301fb25e397ee9fdca6ab3c40 -size 46090 diff --git a/release-compare-0.9.0.obscpio b/release-compare-0.9.0.obscpio new file mode 100644 index 0000000..527a3fd --- /dev/null +++ b/release-compare-0.9.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d0cb3b280757d57bec6ef3f588bc0a7d847570aa8712cf8eb39830a020b8f51 +size 81419 diff --git a/release-compare.changes b/release-compare.changes index 75ea662..50c0ccc 100644 --- a/release-compare.changes +++ b/release-compare.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri May 26 15:05:28 UTC 2023 - Joachim Gleissner + +- 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 diff --git a/release-compare.obsinfo b/release-compare.obsinfo index 27f7954..043285c 100644 --- a/release-compare.obsinfo +++ b/release-compare.obsinfo @@ -1,4 +1,4 @@ name: release-compare -version: 0.5.6 -mtime: 1651472540 -commit: ff3235f233bfc4274e1109b85cfc591c8de716ef +version: 0.9.0 +mtime: 1685111718 +commit: b5ee192915699eda95faa39930c384c774bb9cae diff --git a/release-compare.spec b/release-compare.spec index b138351..569f75d 100644 --- a/release-compare.spec +++ b/release-compare.spec @@ -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