> Please consider reporting this against rpkg-util:
> https://pagure.io/rpkg-util <https://pagure.io/rpkg-util>

I just created https://pagure.io/rpkg-util/issue/28 
<https://pagure.io/rpkg-util/issue/28>

Andy

> Begin forwarded message:
> 
> From: Pavel Raiskup <prais...@redhat.com>
> Subject: Re: Fwd: Copr package build fails on python-nocaselist package
> Date: 21. September 2020 at 10:26:42 CEST
> To: devel@lists.fedoraproject.org
> Cc: clime <cl...@fedoraproject.org>, Robert-André Mauchin 
> <zebo...@gmail.com>, Andreas R Maier <andreas.r.ma...@gmx.de>
> Reply-To: Development discussions related to Fedora 
> <devel@lists.fedoraproject.org>
> 
> On Monday, September 21, 2020 9:07:32 AM CEST Andreas R Maier wrote:
>> 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.
> 
> Please consider reporting this against rpkg-util:
> https://pagure.io/rpkg-util <https://pagure.io/rpkg-util>
> 
> Pavel
> 
>> 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:
>>> 
>>> From: Robert-André Mauchin <zebo...@gmail.com>
>>> Subject: Re: Copr package build fails on python-nocaselist package
>>> Date: 18. September 2020 at 13:46:53 CEST
>>> To: Development discussions related to Fedora 
>>> <devel@lists.fedoraproject.org>
>>> Reply-To: Development discussions related to Fedora 
>>> <devel@lists.fedoraproject.org>
>>> 
>>> 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 -N
>>> 
>>> Build 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.rpm
>>> 
>>> 
>>> 
>>> No 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@lists.fedoraproject.org
>>> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>>> 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@lists.fedoraproject.org
>> 
>> 
> 
> 
> 
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org 
> <mailto:devel@lists.fedoraproject.org>
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org 
> <mailto:devel-le...@lists.fedoraproject.org>
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ 
> <https://docs.fedoraproject.org/en-US/project/code-of-conduct/>
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines 
> <https://fedoraproject.org/wiki/Mailing_list_guidelines>
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org 
> <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to