]> git.pld-linux.org Git - packages/git-core.git/commitdiff
package block-sha1 header files, makefile and config files auto/th/git-core-1.8.3.4-2
authorKacper Kornet <draenog@pld-linux.org>
Tue, 13 Aug 2013 23:30:08 +0000 (00:30 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 13 Aug 2013 23:35:43 +0000 (00:35 +0100)
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

index b8517a66e569b0c43a094d709b93581434c1b04f..2ca292b1b2127567360aadfe461e2fafc88e8bd1 100644 (file)
@@ -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}
This page took 0.03348 seconds and 4 git commands to generate.