[packages/pld-gitolite/deploy] - version with config to specify file order in sent emails

draenog draenog at pld-linux.org
Mon Aug 13 06:55:47 CEST 2012


commit 202535de6c7febabe80a948efe565d6e7a8c3e76
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Aug 13 06:54:21 2012 +0200

    - version with config to specify file order in sent emails

 git.conf          |  1 +
 pld-gitolite.spec | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/pld-gitolite.spec b/pld-gitolite.spec
index 7c437b9..1f13ea4 100644
--- a/pld-gitolite.spec
+++ b/pld-gitolite.spec
@@ -3,11 +3,11 @@ Summary:	Gitolite setup used by PLD
 Summary(pl.UTF-8):	Konfiguracja Gitolite wykorzystywana przez PLD
 Name:		pld-gitolite
 Version:	0.13.1
-Release:	1
+Release:	1.1
 License:	GPL v2
 Group:		Development/Building
-Source0:	https://github.com/draenog/gitolite-scripts/tarball/v%{version}/gitolite-scripts.tar.gz
-# Source0-md5:	506efdf6ad5d16fe5905d76c8ef2fe51
+Source0:	https://github.com/draenog/gitolite-scripts/tarball/master/gitolite-scripts.tar.gz
+# Source0-md5:	335e266655ff20c30898da47c06c8742
 Source1:	gitolite.conf
 Source2:	gitolite.rc
 Source3:	git.conf
@@ -48,7 +48,7 @@ mv draenog-gitolite-scripts-*/* .
 rm -rf $RPM_BUILD_ROOT
 # create directories if necessary
 install -d $RPM_BUILD_ROOT/home/services/%{gituser}/.gitolite/{conf,hooks/common}
-install -d $RPM_BUILD_ROOT/home/services/%{gituser}/bin
+install -d $RPM_BUILD_ROOT/home/services/%{gituser}/{bin,configs}
 
 cp -p %{SOURCE1} %{SOURCE5} $RPM_BUILD_ROOT/home/services/%{gituser}/.gitolite/conf
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/home/services/%{gituser}/.gitolite.rc
@@ -57,6 +57,8 @@ cp -a hooks/* $RPM_BUILD_ROOT/home/services/%{gituser}/.gitolite/hooks/common
 cp -a adc $RPM_BUILD_ROOT/home/services/%{gituser}
 cp -a bin/* $RPM_BUILD_ROOT/home/services/%{gituser}/bin
 
+echo '*.spec' > $RPM_BUILD_ROOT/home/services/%{gituser}/configs/difforder
+
 install -Dp %{SOURCE6} $RPM_BUILD_ROOT/etc/cron.d/git
 
 # install additional config for gitweb package
@@ -115,3 +117,5 @@ fi
 %dir /home/services/%{gituser}/bin
 %attr(744,%{gituser},%{gituser}) /home/services/%{gituser}/bin/specscommit.sh
 %attr(744,%{gituser},%{gituser}) /home/services/%{gituser}/bin/pldgithub.py
+%dir /home/services/%{gituser}/configs
+%config(noreplace) %verify(not md5 mtime size) /home/services/%{gituser}/configs/difforder
diff --git a/git.conf b/git.conf
index 108991a..0158cd8 100644
--- a/git.conf
+++ b/git.conf
@@ -13,3 +13,4 @@
 	ciaproject =
 	specsdir =
 	specsrepo =
+	orderfile = "configs/difforder"


More information about the pld-cvs-commit mailing list