[packages/git-core] package block-sha1 header files, makefile and config files

draenog draenog at pld-linux.org
Wed Aug 14 01:36:22 CEST 2013


commit 95341e74e2dbe910cf576ff47021c5683a7707da
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Wed Aug 14 00:30:08 2013 +0100

    package block-sha1 header files, makefile and config files
    
    git-core is compiled using Linus's sha1 implementations, so
    devel subpackage should provide the relevant headers.
    
    Makefile and config files need to be also packaged as cgit uses
    them to reconstruct flags used for git-core compilation.

 git-core.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/git-core.spec b/git-core.spec
index b8517a6..2ca292b 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -11,7 +11,7 @@ Summary:	Distributed version control system focused on speed, effectivity and us
 Summary(pl.UTF-8):	Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
 Name:		git-core
 Version:	1.8.3.4
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Development/Tools
 Source0:	http://git-core.googlecode.com/files/git-%{version}.tar.gz
@@ -450,8 +450,11 @@ cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/templates $RPM_BUILD_ROOT%{_sysconfdir}
 cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
 cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
 cp -p xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
+cp -p block-sha1/sha1.h $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
 cp -p libgit.a $RPM_BUILD_ROOT%{_libdir}
 cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
+cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name}
 
 # bash completion
 install -d $RPM_BUILD_ROOT%{bash_compdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/95341e74e2dbe910cf576ff47021c5683a7707da



More information about the pld-cvs-commit mailing list