[Devel-en] Forked rpm-openmandriva-setup to rpm-rosa-setup, %py_compile -> %py3_compile

Mikhail Novosyolov m.novosyolov at rosalinux.ru
Fri Sep 24 16:07:35 MSK 2021


Hello!

Some time ago, when initial migration of ROSA from rpm5 to rpm4 was done, we started using rpm-openmandriva-setup [1] - a set of RPM macros and some scripts which are put over upstream RPM macros.

After that we made a lot of patches over the version 0.4.1 from OpenMandriva.

After that OpenMandriva depreceated [2] rpm-opemnandriva-setup in favour of distro-release [3]. We will not borrow that approach because we have http://abf.io/import/branding-configs , I will write another email about changes in them.

So, now time to fork it has arrived. I forked version 0.4.1 of rpm-openmandriva-setup into rpm-rosa-setup. All our patches were applied on top of git tag 0.4.1 (that was really easy because all patches were already git-formatted, %autosetup -S git_am was used).

Git with its source code is here: https://abf.io/soft/rpm-rosa-setup

Packaging is here: https://abf.io/import/rpm-rosa-setup

Suggestions, patches and pull requests are welcomed!


And one more thing. We had not working unversioned %py_* python macros, I removed them [4], but a useful macro %py_compile which allows to trigger byte-compiling manually, was also removed. I readded it as %py3_compile into the python3 package [5] and will replace it in specs.


[1] https://github.com/OpenMandrivaSoftware/rpm-openmandriva-setup

[2] https://github.com/OpenMandrivaSoftware/rpm-openmandriva-setup/pull/8#issuecomment-837090652

[3] https://github.com/OpenMandrivaSoftware/distro-release

[4] https://abf.io/soft/rpm-rosa-setup/commit/1037825e6f1c1ee310a86a27cd1e463b9d1ce648

[5] https://abf.io/import/python3/commit/3fb51bbae62c8330f3791bde3a2a9261cbc7780b



More information about the Devel-en mailing list