Fedora Brasil
fedpkg new-sources <tarbal>
quando vou fazer um rebase pra um release novo
fedpkg new-sources <tarbal>
➜ minetest git:(rawhide) ✗ fedpkg new-sources minetest-5.4.0.tar.gz
Could not execute new_sources: Request is unauthorized.
mv: cannot stat 'minetest_game-5.4.0': No such file or directory
$ copr-cli build nome-projeto /caminho/para/pacote.src.rpm
➜ SRPMS copr-cli build minetest minetest-5.4.0-1.fc33.src.rpm
Uploading package minetest-5.4.0-1.fc33.src.rpm
|################################| 22.3 MB 7.6 MB/s eta 0:00:00Build was added to minetest:
https://copr.fedorainfracloud.org/coprs/build/2123926
Created builds: 2123926
Watching build(s): (this may be safely interrupted)
09:22:52 Build 2123926: pending
09:23:22 Build 2123926: importing
09:23:53 Build 2123926: starting
09:24:24 Build 2123926: running
09:26:57 Build 2123926: failed
Build error: Build(s) 2123926 failed.
md5sum
, vi que seu "minetest_game-5.4.0.tar.gz" está diferente. Talvez corrompido.$ md5sum minetest-5.4.0.tar.gz minetest_game-5.4.0.tar.gz
ee8069f5b1c4ced825d9e54d4e3dadec minetest-5.4.0.tar.gz
ee8069f5b1c4ced825d9e54d4e3dadec minetest_game-5.4.0.tar.gz
tar tvf minetest_game-5.4.0.tar.gz
vai retornar o conteúdo do minetest-5.4.0.tar.gz
, que é uma pasta minetest-5.4.0 com código-fonte.
$ sha512sum minetest-5.4.0.tar.gz minetest_game-5.4.0.tar.gz
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb minetest-5.4.0.tar.gz
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb minetest_game-5.4.0.tar.gz
SHA512 (minetest-5.3.0.tar.gz) = 7bb34a80107861539a9ac2417812625ef11d145bf9401afdb8e0a1b9f619adcce24e2becf5bf361b805f4610097cf9d44c76d497ab08d489a43655852ce44777
SHA512 (minetest_game-5.3.0.tar.gz) = 986e9ca436159b115a8d2a07c4d863e0f5b90343447864e737bfd93bdc75a6d4b9d97b9dc90486858dda69e9a76ffdf79186e163d55978196e8cb98091ff97e6
$ sha512sum minetest-5.4.0.tar.gz minetest_game-5.4.0.tar.gz
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb minetest-5.4.0.tar.gz
b0cfa5fc76b56dc6d188a5285af003c348f25e797aec2399369c6230e682c2ee8dbc6ae8769bcbd0bb45864588f0522cd609356f407833db30c601df4ddf9f8d minetest_game-5.4.0.tar.gz
➜ SOURCES sha512sum minetest-5.4.0.tar.gz minetest_game-5.4.0.tar.gz
4cb43678c56ee2ccf9d5dd9c1fc0007119d598a4a56df43fc2a1b827efe08feba0008a30bdb1a1fcd4efe0ada88484b7be0c9e46f108d5424451adb0999b0bcb minetest-5.4.0.tar.gz
b0cfa5fc76b56dc6d188a5285af003c348f25e797aec2399369c6230e682c2ee8dbc6ae8769bcbd0bb45864588f0522cd609356f407833db30c601df4ddf9f8d minetest_game-5.4.0.tar.gz
➜ SOURCES
fedpkg new-sources
(que atualiza o arquivo sources
) não importa para usar/testar no COPR. Obviamente, seu uso é interessante se você tiver intenção de apresentar um patch para o mantenedor do pacote minetest com atualizações do pacote.
fedpkg new-sources
git diff > minetest-5.4.0.diff6- Anexe o arquivo diff no #1941220 Como contribuição para o mantenedor
rpm2cpio nome-pacote.src.rpm | cpio -idmve depois
sha512sum minetest_game-5.4.0.tar.gzpode lhe ser útil para ter certeza eu o SRPM tem o tarball correto.
/usr/bin/ld: /usr/lib64/libcrypto.so.1.1: error adding symbols: DSO missing from command line
%global _lto_cflags %{nil}
%if 0%{?fedora} == "34"
%global _lto_cflags %{nil}
%endif
fedpkg update
serve pra isso, por exemplo
Upgraded:
dracut 053-1.fc34 -> 053-2.fc34
glib2 2.68.0-2.fc34 -> 2.68.1-1.fc34
kernel 5.11.11-300.fc34 -> 5.11.12-300.fc34
kernel-core 5.11.11-300.fc34 -> 5.11.12-300.fc34
kernel-devel 5.11.11-300.fc34 -> 5.11.12-300.fc34
kernel-modules 5.11.11-300.fc34 -> 5.11.12-300.fc34
kernel-modules-extra 5.11.11-300.fc34 -> 5.11.12-300.fc34
libsmbclient 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
libwbclient 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
qt-settings 34.1-1.fc34 -> 34.2-1.fc34
rpm-ostree 2021.2-2.fc34 -> 2021.3-2.fc34
rpm-ostree-libs 2021.2-2.fc34 -> 2021.3-2.fc34
samba-client 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
samba-client-libs 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
samba-common 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
samba-common-libs 2:4.14.2-0.fc34 -> 2:4.14.2-1.fc34
systemd 248-1.fc34 -> 248-2.fc34
systemd-libs 248-1.fc34 -> 248-2.fc34
systemd-networkd 248-1.fc34 -> 248-2.fc34
systemd-oomd-defaults 248-1.fc34 -> 248-2.fc34
systemd-pam 248-1.fc34 -> 248-2.fc34
systemd-rpm-macros 248-1.fc34 -> 248-2.fc34
systemd-udev 248-1.fc34 -> 248-2.fc34
Run "systemctl reboot" to start a reboot