Spec URL: http://miroslav.suchy.cz/fedora/mock-core-configs.spec SRPM URL: http://miroslav.suchy.cz/fedora/mock-core-configs-27.1-1.fc26.src.rpm Description: Config files which allow you to create chroots for: * Fedora * Epel * Mageia * Custom chroot Fedora Account System Username: msuchy
hawkey was retired in F26 ! in my f25 run [1], give me x86_64 , why not use `uname -m` ? [1] python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))"
Taking this review.
(In reply to Sergio Monteiro Basto from comment #1) > hawkey was retired in F26 ! in my f25 run [1], give me x86_64 , why not use > `uname -m` ? > > > [1] > python3 -c "import dnf.rpm; import hawkey; > print(dnf.rpm.basearch(hawkey.detect_arch()))" libdnf provides the Hawkey Python API. The Hawkey C API was removed.
Yes. There is python3-hawkey, which in past used hawkey C API, but now it uses libdnf. DNF team just decided that it is not needed to change the python name. The functionality stays the same. > why not use `uname -m` because I want the get the same string as DNF use internally. And I do not want to be surprised on some secondary architectures where it may or not return slightly different results.
Please, don't run dnf/rpm/libdnf from scriptlet. It's worst thing ever! Also don't use hawkey directly, it will be retired soon-ish.
> dnf/rpm/libdnf from scriptlet. It's worst thing ever! I agree with dnf/rpm. Can you elaborate why not libdnf? Especially this import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()) which does not touch/need transaction?
@Neal ping. Any progress?
> Source: %{name}-%{version}.tar.gz Change this to the URL, and then I will okay this.
Sigh. You are cruel. :) Spec URL: http://miroslav.suchy.cz/fedora/mock-core-configs.spec SRPM URL: http://miroslav.suchy.cz/fedora/mock-core-configs-27.2-1.fc26.src.rpm
Now you know my pain. :) PACKAGE APPROVED.
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/mock-core-configs. You may commit to the branch "f27" in about 10 minutes.
Fixed , package are in stable of all branches [1] . Thanks. [1] https://bodhi.fedoraproject.org/updates/?packages=mock-core-configs