Hi,
I am new to building packages, and I'm trying to build a new package 
'python-nocaselist' on Copr, and it fails in the %prep stage when unpacking the 
SRPM file because it cannot cd into the directory it assumes got unpacked:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6rjfBt
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf nocaselist-1.0.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/nocaselist-1.0.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nocaselist-1.0.2
/var/tmp/rpm-tmp.6rjfBt: line 39: cd: nocaselist-1.0.2: No such file or 
directory
I have configured copr to point to the Git repo and spec file.

The same spec file builds fine on Koji.

Spec file: 
https://github.com/pywbem/nocaselist/blob/andy/fedora-packaging/packaging/fedora/python-nocaselist.spec
 
<https://github.com/pywbem/nocaselist/blob/andy/fedora-packaging/packaging/fedora/python-nocaselist.spec>
Failing Copr build: 
https://copr.fedorainfracloud.org/coprs/andymaier/python-nocaselist/build/1672638/
 
<https://copr.fedorainfracloud.org/coprs/andymaier/python-nocaselist/build/1672638/>
Successful Koji build: 
https://koji.fedoraproject.org/koji/taskinfo?taskID=51713400 
<https://koji.fedoraproject.org/koji/taskinfo?taskID=51713400>

What am I doing wrong here?

Thanks for any help
Andy


_______________________________________________
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