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(a)lists.fedoraproject.org> wrote:
Thanks!
On Friday, December 27, 2019, 9:32:29 AM CST, José Abílio Matos <jamatos(a)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