threads / discuss / 44048

Missing RPM spec file in tarball

Subject: Missing RPM spec file in tarball

## tl;dr

5 messages between Sep 9, 2016 and Sep 11, 2016.

replies: 4people: 4as markdown or json

Sergio Martín Turiel· Sep 9, 2016, 16:19 UTC · lore
Hello,
  I am trying to build RPM packages from tarball (release 2.9.3 and 
2.10.0), and i do not find git.spec file, in previous releases i can 
found it (e.g. 2.8.3).
O.S.: CentOS 7.2
Command: rpmbuild -ta git-2.9.3.tar.gz
Response: error: Failed to read spec file from git-2.9.3.tar.gz
Can you tell me what I'm doing wrong?
Thank you very much and best regards, Sergio Martín.
Junio C Hamano· Sep 9, 2016, 16:42 UTC · re: Sergio Martín Turiel · lore

Re: Missing RPM spec file in tarball

Sergio Martín Turiel <sergio.martin@accelya.com> writes:
Show 7 quoted lines
>  I am trying to build RPM packages from tarball (release 2.9.3 and
> 2.10.0), and i do not find git.spec file, in previous releases i can
> found it (e.g. 2.8.3).
>
> O.S.: CentOS 7.2
> Command: rpmbuild -ta git-2.9.3.tar.gz
> Response: error: Failed to read spec file from git-2.9.3.tar.gz

Since ab214331 ("Makefile: stop pretending to support rpmbuild", 2016-04-04) that is used in Git 2.9 and later, i.e.

    Makefile: stop pretending to support rpmbuild
    
    Nobody in the active development community seems to watch breakages
    in the rpmbuild target.  As most major RPM based distros use their
    own specfile when packaging us, they aren't looking after us as
    their pristine upstream tree, either.  At this point, it is turning
    to be a disservice to the users to pretend that our tree natively
    supports "make rpmbuild" target when we do not properly maintain it.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>

we no longer ship an outdated git.spec and git.spec.in files. This was done after finding out that nobody noticed that git.spec has been left broken since around Git 2.8.0 (i.e. we stopped shipping README without adjusting the reference to it from the git.spec file).

Stefan Beller· Sep 9, 2016, 16:42 UTC · re: Sergio Martín Turiel · lore

Re: Missing RPM spec file in tarball

On Fri, Sep 9, 2016 at 9:19 AM, Sergio Martín Turiel <sergio.martin@accelya.com> wrote:

Show 11 quoted lines
> Hello,
>
>
>  I am trying to build RPM packages from tarball (release 2.9.3 and 2.10.0),
> and i do not find git.spec file, in previous releases i can found it (e.g.
> 2.8.3).
>
> O.S.: CentOS 7.2
> Command: rpmbuild -ta git-2.9.3.tar.gz
> Response: error: Failed to read spec file from git-2.9.3.tar.gz
>

We deleted the rpm target as it was breaking all the time and not reported in a timely manner, i.e. the impression was it was always broken.

See https://kernel.googlesource.com/pub/scm/git/git/+/ab214331cf8c73f8f77540aa996eb8b4938237f2
> Can you tell me what I'm doing wrong?

Not crying out loud when that commit was discussed on the mailing list. ;)

>
>
> Thank you very much and best regards, Sergio Martín.

Thanks, Stefan

Johannes Schindelin· Sep 10, 2016, 08:15 UTC · re: Stefan Beller · lore

Re: Missing RPM spec file in tarball

Hi Stefan,
On Fri, 9 Sep 2016, Stefan Beller wrote:
Show 7 quoted lines
> On Fri, Sep 9, 2016 at 9:19 AM, Sergio Martín Turiel
> <sergio.martin@accelya.com> wrote:
> 
> > Can you tell me what I'm doing wrong?
> 
> Not crying out loud when that commit was discussed on the
> mailing list. ;)

Umm, I think it would be more: "Not stepping up to maintain the RPM specs"...

;-)

Ciao, Dscho

Stefan Beller· Sep 11, 2016, 16:05 UTC · re: Johannes Schindelin · lore

Re: Missing RPM spec file in tarball

On Sat, Sep 10, 2016 at 1:15 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 16 quoted lines
> Hi Stefan,
>
> On Fri, 9 Sep 2016, Stefan Beller wrote:
>
>> On Fri, Sep 9, 2016 at 9:19 AM, Sergio Martín Turiel
>> <sergio.martin@accelya.com> wrote:
>>
>> > Can you tell me what I'm doing wrong?
>>
>> Not crying out loud when that commit was discussed on the
>> mailing list. ;)
>
> Umm, I think it would be more: "Not stepping up to maintain the RPM
> specs"...
>
> ;-)
You are right of course.

Thanks, Stefan

>
> Ciao,
> Dscho

← back to recent threads