Thread (1 message) 1 message, 1 author, 2016-09-09

Re: Missing RPM spec file in tarball

From: Junio C Hamano <hidden>
Date: 2016-09-09 16:42:44

Sergio Martín Turiel [off-list ref] 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 [off-list ref]

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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help