#1 Switch BR from aeidon to python3-aeidon, where available (F34 and newer)
Closed 2 years ago by music. Opened 3 years ago by music.
Unknown source master  into  rawhide

file modified
+8 -1
@@ -1,6 +1,6 @@

  Name:           translate-toolkit

  Version:        3.2.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Tools to assist with translation and software localization

  License:        GPLv2+

  URL:            http://toolkit.translatehouse.org/
@@ -44,7 +44,11 @@

  Requires:       python3-simplejson

  Requires:       python3-six

  Requires:       python3-vobject

+ %if 0%{?fedora} < 34

  Requires:       aeidon

+ %else

+ Requires:       python3-aeidon

+ %endif

  

  %description

  A set of tools for managing translation and software localization via Gettext
@@ -119,6 +123,9 @@

  %doc docs/_build/html

  

  %changelog

+ * Sun Dec 20 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 3.2.0-2

+ - Switch BR from aeidon to python3-aeidon, where available (F34 and newer)

+ 

  * Fri Nov  6 2020 Sundeep Anand <suanand@redhat.com> - 3.2.0-1

  - http://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/3.2.0.html

  

Beginning with Fedora 34, the aeidon Python package is now provided by the python3-aeidon RPM, instead of the (nonstandard for a Python library) aeidon RPM. This PR introduces the new name conditionally. After Fedora 33 EOL, you can drop the condition and simply BR python3-aeidon.

(The new RPM has a Provides for the old name, so the original BR will still work. However, I’d like to discourage use of the legacy name, which is not consistent with guidelines for Python library packages.)

I decided to backport the packaging improvements for the older version 1.4 in F32–F33, so the conditional will not be needed at all after these updates go stable in a week or so:

https://bodhi.fedoraproject.org/updates/FEDORA-2020-a473171b07
https://bodhi.fedoraproject.org/updates/FEDORA-2020-92da94958d

Sorry I think we missed this... I think it either needs a rebase or manual merge.

For these kind of changes it is typically better to avoid bumping and adding changelog
since they are likely to conflict if there is a delay.

I’ll open a new PR rather than trying to rebase this one since it is affected by the master branch renaming.

Since F33 is EOL, the conditional can be removed.

Pull-Request has been closed by music

2 years ago