obs-build icon indicating copy to clipboard operation
obs-build copied to clipboard

changelog2spec uses timezone of the first entry, ignores all others

Open Vogtinator opened this issue 2 years ago • 1 comments

The timezone of the first entry with timezone info is read and used to convert all entries of the entire file, even if those specify a separate timezone.

==> btrfsprogs.changes <==
-------------------------------------------------------------------
Wed Jan 19 09:49:19 UTC 2022 - Dirk Müller <[email protected]>

- add python-rpm-macros (bsc#1194748) 

-------------------------------------------------------------------
Tue Jan 18 00:00:00 CET 2022 - [email protected]

- spec: also provide btrfs-progs as it's common package name in other distros
- spec: clean up conditionals for < 12 versions
- spec: let SLE12 build again (conditional dependency of libreiserfscore)
- Removed patches: sles11-defaults.h (no SLE11 compatibility anymore)
- Added patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch
  (fix build on SLE12/SLE15)

results in

* Wed Jan 19 2022 Dirk Müller <[email protected]>
- add python-rpm-macros (bsc#1194748)
* Mon Jan 17 2022 [email protected]
- spec: also provide btrfs-progs as it's common package name in other distros
- spec: clean up conditionals for < 12 versions
- spec: let SLE12 build again (conditional dependency of libreiserfscore)
- Removed patches: sles11-defaults.h (no SLE11 compatibility anymore)
- Added patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch
  (fix build on SLE12/SLE15)

while just

-------------------------------------------------------------------
Tue Jan 18 00:00:00 CET 2022 - [email protected]

- spec: also provide btrfs-progs as it's common package name in other distros
- spec: clean up conditionals for < 12 versions
- spec: let SLE12 build again (conditional dependency of libreiserfscore)
- Removed patches: sles11-defaults.h (no SLE11 compatibility anymore)
- Added patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch
  (fix build on SLE12/SLE15)

results in

* Tue Jan 18 2022 [email protected]
- spec: also provide btrfs-progs as it's common package name in other distros
- spec: clean up conditionals for < 12 versions
- spec: let SLE12 build again (conditional dependency of libreiserfscore)
- Removed patches: sles11-defaults.h (no SLE11 compatibility anymore)
- Added patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch
  (fix build on SLE12/SLE15)

Vogtinator avatar Jan 25 '22 15:01 Vogtinator

https://github.com/openSUSE/obs-build/pull/234#issuecomment-254830333 is related. Apparently that switch never happened, and changelog2spec still uses the ancient format.

Vogtinator avatar Jan 25 '22 15:01 Vogtinator