On Thursday, December 26, 2019, 10:34:12 AM CST, José Abílio Matos <jamatos@fc.up.pt> wrote:


> Something weird in your spec file is that it has two source files:

> Source0:        https://pypi.python.org/packages/source/s/stapler/stapler-%
{version}.tar.bz2
> Source1:        https://github.com/hellerbarde/stapler/archive/stapler=%
{version}.tar.bz2

> The second looks an error, notice the equal sign after the name. And if it is  supposed to be the same then why are there two locations? This seems the likely cause of your problem.

Thanks! That must have been it. The package compiles.

However, I have a problem: the issue is that Source0 does not have the latest tar.bz2 while Source1 does not call it 1.0.0 though the release notes say so (there).

So, I put in a Source2: which contains the local tar.bz2 that I have. There is no error in the compilation but fedpkg build seems to have an error that I do not seem to get:

aarem's pdf-stapler-1.0.0-1.fc32 failed to build
    http://koji.fedoraproject.org/koji/buildinfo?buildID=1424956

And here is the spec file:

$ fpaste  pdf-stapler.spec
Uploading (4.7KiB)...
https://paste.centos.org/view/c2c3d4bf


Any help would be greatly and very gratefully appreciated!

Many thanks!