Spec URL: https://github.com/ImBearChild/copr-home/tree/main/clash-meta SRPM URL: https://download.copr.fedorainfracloud.org/results/imbearchild/home/fedora-41-x86_64/08660781-clash-meta/clash-meta-1.19.2-1.fc41.src.rpm Copr URL: https://copr.fedorainfracloud.org/coprs/imbearchild/home/package/clash-meta/ Upstream project: https://github.com/MetaCubeX/mihomo/tree/Meta Description: The clash-meta kernel is a rule based network proxy tool. It uses IP or domain based rules to forward packets to different nodes, and focus on obfuscated or tunneled protocols. Fedora Account System Username: imbearchild Note: This software is a fork of clash (once packaged in Fedora, but now deprecated). The upstream developer once decided to obfuscate this project (for some reason I can not explain), renaming it's repository to "mihomo", and using an unrelated main branch (actual code can be fetched from "Meta" branch). But the project itself and many users still refer to it as clash-meta (for example, their android port is still called ClashMetaForAndroid). The word "mihomo" is actually a play on words, combining the "mi" from mihoyo (a mobile gaming company from China, unrelated to this) and the "homo" from homose*ual, making it potentially improper as a package name. So I selected "clash-meta" as package name.
Created attachment 2047697 [details] A patch to add clash-meta.service and config.yaml.sample What are the necessary steps to include this package in Fedora 40/41?
1. You can remove the period at the end of the summary. https://docs.fedoraproject.org/en-US/packaging-guidelines/#:~:text=Do%20not%20end%20the%20summary%20with%20a%20period. 2. The file /usr/share/doc/clash-meta/docs/logo.png has executable permissions, which could pose a security risk: -rwxr-xr-x. 1 mockbuild mock 15K Mar 28 11:08 logo.png 3. Is the license correctly specified? It currently points to vendor/modules.txt. 4. It seems the application does not read configuration from /etc/clash-meta by default. If it is intended to read from there, perhaps you should copy docs/config.yaml to /etc/clash-meta, similar to how Caddy does it.
Sorry, I saw your new patch. If the default configuration has already been copied, ignore what I said above and merge it.
1. fixed in new version 2. removed logo from docs. it's useless. 3. that part is generated by go-vendor-tools. I think real licenses are handled by %go_vendor_license_install 4. okay :D Thanks! And new copr build can be found here: https://copr.fedorainfracloud.org/coprs/imbearchild/home/build/8948515/
Sorry for my late reply LGTM. This package is APPROVED.
Thanks! :D But there is one more thing: You need to set the `fedora-review` flag to `+` if you want to approve my package. [1] [1]: https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#_reviewer
The Pagure repository was created at https://src.fedoraproject.org/rpms/clash-meta
FEDORA-2025-bb207d24ec (clash-meta-1.19.4-2.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-bb207d24ec
FEDORA-2025-bb207d24ec (clash-meta-1.19.4-2.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.