# Missing RPM spec file in tarball

5 messages from 2016-09-09 to 2016-09-11. Participants: Sergio Martín Turiel, Junio C Hamano, Stefan Beller, Johannes Schindelin.
Thread: https://gitlist.dev/t/44048

## Sergio Martín Turiel, 2016-09-09 16:19

Subject: Missing RPM spec file in tarball
Message-ID: <4c42a1f4-4f03-0fdf-8bd2-8a7f1f978073@accelya.com>
URL: https://gitlist.dev/e/4c42a1f4-4f03-0fdf-8bd2-8a7f1f978073%40accelya.com

```
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, 2016-09-09 16:42

Subject: Re: Missing RPM spec file in tarball
Message-ID: <xmqq37l9dnyd.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqq37l9dnyd.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <4c42a1f4-4f03-0fdf-8bd2-8a7f1f978073@accelya.com>

```
Sergio Martín Turiel <sergio.martin@accelya.com> writes:

>  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, 2016-09-09 16:42

Subject: Re: Missing RPM spec file in tarball
Message-ID: <CAGZ79kYu=0ik9W9g5yCbc5142_a2fb1er45TFEZ6RrekZRZM9w@mail.gmail.com>
URL: https://gitlist.dev/e/CAGZ79kYu%3D0ik9W9g5yCbc5142_a2fb1er45TFEZ6RrekZRZM9w%40mail.gmail.com
In-Reply-To: <4c42a1f4-4f03-0fdf-8bd2-8a7f1f978073@accelya.com>

```
On Fri, Sep 9, 2016 at 9:19 AM, Sergio Martín Turiel
<sergio.martin@accelya.com> wrote:
> 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, 2016-09-10 08:15

Subject: Re: Missing RPM spec file in tarball
Message-ID: <alpine.DEB.2.20.1609101014530.129229@virtualbox>
URL: https://gitlist.dev/e/alpine.DEB.2.20.1609101014530.129229%40virtualbox
In-Reply-To: <CAGZ79kYu=0ik9W9g5yCbc5142_a2fb1er45TFEZ6RrekZRZM9w@mail.gmail.com>

```
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"...

;-)

Ciao,
Dscho
```

## Stefan Beller, 2016-09-11 16:05

Subject: Re: Missing RPM spec file in tarball
Message-ID: <CAGZ79kYZuiY5Nzuxgs0Yz41NM1xQprL6YjiJaWCMg1szv=fssA@mail.gmail.com>
URL: https://gitlist.dev/e/CAGZ79kYZuiY5Nzuxgs0Yz41NM1xQprL6YjiJaWCMg1szv%3DfssA%40mail.gmail.com
In-Reply-To: <alpine.DEB.2.20.1609101014530.129229@virtualbox>

```
On Sat, Sep 10, 2016 at 1:15 AM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> 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

```
