What happens when you try this?

%setup -q -n pdf-stapler

Do not append anything after pdf-stapler

BR,

Brownsen

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, 27. December 2019 17:04, Globe Trotter via devel 
<devel@lists.fedoraproject.org> wrote:

> Thanks!
>
> On Friday, December 27, 2019, 9:32:29 AM CST, José Abílio Matos 
> <jama...@fc.up.pt> wrote:
>
>> in lines 43-44 you have:
>
>> %prep
>> %setup -q -n stapler-%{version}
>
>> the last line should be:
>> %setup -q -n stapler
>
> as you said the directory name does not have the version in it. :-)
>
> I tried:
>
> %setup -q -n  stapler-%{commit}
> mv: cannot stat 
> '/home/aarem/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.1.20191215git8753251.fc31.x86_64//usr/bin/stapler-875325103234b4a3ed96a4a5167ff78c291edbff':
>  No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.dbb8Yr (%install)
>
> Sorry, I am still lost. Here is my updated spec file.
>
> https://paste.centos.org/view/a2d17d1a
_______________________________________________
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