Hello again,
Replace the mv line you have in your spec file with this:
rm %{buildroot}%{_bindir}/stapler
Also, do you really need to declare PKG-INFO as documentation? It's
included with the egg metadata. If you remove it from your %files
section, the package builds fine. If you are intent on keeping it
declared, you will have to copy it to your buildroot (I think).
On Fri, Dec 27, 2019 at 5:04 PM Globe Trotter via devel
<[email protected]> wrote:
>
> Thanks!
>
> On Friday, December 27, 2019, 9:32:29 AM CST, José Abílio Matos
> <[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]