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 directoryerror: 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