Hi,I requested review of the proposed package in https://bugzilla.redhat.com/show_bug.cgi?id=1880953
Andy Begin forwarded message:
Subject: Fwd: Copr package build fails on python-nocaselist package
Date: 21. September 2020 at 09:07:32 CEST
Hello Robert, I suspect the reason I get the python-%{srcname}-%{version} in the .tar.gz file is that I was setting up COPR to use "rpkg". When using "copr-cli build" as shown in your mail, it works on COPR. So I think we can ignore that issue.
At this point, I can successfully build locally (with "rpmbuild -bb"), on Koji (with "koji build"), and on COPR (with "copr-cli build").
I cannot yet build locally with "fedpkg mockbuild" or on Koji with "fedpkg scratch-build", and I suspect this is because there is no repo for the package yet and/or because I have not set up the mock environment on my local Fedora.
What I still don't understand is the package name: "rpmbuild -bs" creates an SRPM with package name "python3-nocaselist" while "fedpkg srpm" creates an SRPM with package name "python-nocaselist". What will be the package name in Fedora at the end of the day?
Andy Begin forwarded message:
Subject: Re: Copr package build fails on python-nocaselist package
Date: 18. September 2020 at 13:46:53 CEST
The archives in your SRPM are different:- on COPR the root directory of your archive is python-%{srcname}-%{version} - on Koji the root directory of your archive is %{srcname}-%{version}Check that you have deleted python-%{srcname}-%{version}.tar.gz before regenerating the SRPM.Also I never use rpmbuild anymore, I do everything in the same directory with fedpkg:## Building the Fedora package### Build the source RPM locally: rm *.tar.gz *src.rpm spectool -g *.spec && fedpkg --release f34 srpm### Build the binary RPM locally in a mock chroot: fedpkg --release f34 mockbuild --mock-config fedora-rawhide-x86_64 -NBuild logs and RPMs (if any) are in the results subdirectory### Build the binary RPM with the Koji build system: fedpkg --release f34 scratch-build --srpm --fail-fast### COPR: copr-cli build python-nocaselist *.src.rpmNo idea where python-%{srcname}-%{version} in the .tar.gz is coming from, neither pypi or github have that archive. Maybe it's an artifact of building the SRPM with rpkg?_______________________________________________devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxTo unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesList Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx