Bug 2417719 - Review Request: automoc - Automatic moc for Qt 4
Summary: Review Request: automoc - Automatic moc for Qt 4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL: http://www.kde.org
Whiteboard: Unretirement
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-28 16:05 UTC by Than Ngo
Modified: 2025-12-03 15:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-03 15:14:25 UTC
Type: ---
Embargoed:
kevin: fedora-review+


Attachments (Terms of Use)

Description Than Ngo 2025-11-28 16:05:54 UTC
Spec URL: https://than.fedorapeople.org/rawhide/automoc.spec

SRPM URL: https://than.fedorapeople.org/rawhide/automoc-1.0-0.50.rc3.fc44.src.rpm

Description: This package contains the automoc4 binary which is used to run moc on the right source files in a Qt 4 or KDE 4 application. Moc is the meta object compiler which is a widely used tool with Qt and creates standard C++ files to provide syntactic sugar of the signal/slots mechanism.

Fedora Account System Username: than

Comment 1 Fedora Review Service 2025-11-28 16:12:04 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9847533
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2417719-automoc/fedora-rawhide-x86_64/09847533-automoc/fedora-review/review.txt

Found issues:

- Not a valid SPDX expression 'LicenseRef-Callaway-BSD'.
  Read more: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/automoc
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Than Ngo 2025-11-28 16:45:22 UTC
> - Not a valid SPDX expression 'LicenseRef-Callaway-BSD'.
>  Read more: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1

i tried use use license-fedora2spdx to convert to SPDX license, sadly it does not work.

>- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/automoc
>  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

It's false positive because automoc package was retired 8+ weeks ago from rawhide. We need to add this package back
in order to build some old qt/kde stuff

Comment 3 Than Ngo 2025-12-01 10:52:20 UTC
Hi Kevin,

I am not sure how i can find a reviewer in short time. You are my favorite. It would be great if you could review it.
Thank you!

Comment 4 Than Ngo 2025-12-01 15:46:50 UTC
it seems the BSD-2-Clause-pkgconf-disclaimer license is correct licence for automoc

 https://spdx.org/licenses/BSD-2-Clause-pkgconf-disclaimer.html

Comment 5 Kevin Kofler 2025-12-01 15:55:26 UTC
Looking through the specfile, this is compliant to the current packaging guidelines (SPDX License, no legacy %patchN syntax (using %autosetup, so there is no %patch macros to worry about at all), CMake snippets that will work with current CMake macros). Hence, approving this rereview.

Comment 6 Kevin Kofler 2025-12-01 16:01:45 UTC
That said, you may want to make the following changes (but they are not currently required):
* %cmake_build is recommended over %make_build nowadays. This will be required with CMake switching to Ninja by default, unless you explicitly set the target to "Unix Makefiles". The change https://fedoraproject.org/wiki/Changes/CMake_ninja_default is supposed to be implemented for Fedora 44, but does not seem to have implemented in Rawhide yet, since your Copr build succeeded.
* Likewise, you will want to use %cmake_install instead of "make install". (If you really want to hardcode make, you can use "make install/fast", but see above.)

Comment 7 Than Ngo 2025-12-01 16:29:23 UTC
>* %cmake_build is recommended over %make_build nowadays. This will be required with CMake switching to Ninja by default, unless you explicitly set the target to >"Unix Makefiles". The change https://fedoraproject.org/wiki/Changes/CMake_ninja_default is supposed to be implemented for Fedora 44, but does not seem to have >implemented in Rawhide yet, since your Copr build succeeded.
>* Likewise, you will want to use %cmake_install instead of "make install". (If you really want to hardcode make, you can use "make install/fast", but see above.)

Hi Kevin,
Both are not currently required, we can fix it later after automoc is readded to rawhide.

Thank you for quick review :-)

Comment 8 Than Ngo 2025-12-01 16:30:38 UTC
Kevin, Could you please assign it to you as reviever?

Thanks

Comment 9 Fedora Admin user for bugzilla script actions 2025-12-01 16:36:40 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/automoc

Comment 10 Than Ngo 2025-12-01 16:50:57 UTC
Hi Keven,

do you why i cannot commit the change in rawhide, I still get error:
 git push
Enumerating objects: 39, done.
Counting objects: 100% (39/39), done.
Delta compression using up to 16 threads
Compressing objects: 100% (33/33), done.
Writing objects: 100% (38/38), 30.36 KiB | 30.36 MiB/s, done.
Total 38 (delta 4), reused 33 (delta 4), pack-reused 0 (from 0)
remote: Branch refs/heads/rawhide is unsupported. Cannot push to a disabled branch (maybe eol?).
remote: Denied push for ref 'refs/heads/rawhide' for user 'than'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/automoc
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/automoc'

It seems the branch is still disable. Do you konw how i can enable it?

Thank you

Comment 11 Fedora Admin user for bugzilla script actions 2025-12-01 16:51:26 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/automoc

Comment 12 Fedora Admin user for bugzilla script actions 2025-12-01 16:53:33 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/automoc

Comment 13 Kevin Kofler 2025-12-01 17:04:36 UTC
I think you need to wait some time for the permissions to sync.

Comment 14 Fedora Admin user for bugzilla script actions 2025-12-01 17:06:58 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/automoc

Comment 15 Fedora Admin user for bugzilla script actions 2025-12-01 19:30:19 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/automoc

Comment 16 Than Ngo 2025-12-03 15:14:25 UTC
it's now available in rawhide https://bodhi.fedoraproject.org/updates/FEDORA-2025-a7ec98c94f


Note You need to log in before you can comment on or make changes to this bug.