rpms/gitolite/EL-6 gitolite-1.4.2-conf.patch, NONE, 1.1 gitolite-1.5-rpm.patch, NONE, 1.1 gitolite-README-fedora, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.2, 1.3 gitolite.spec, 1.1, 1.2 sources, 1.2, 1.3 README, 1.1, NONE gitolite-0.95-rpm.patch, 1.1, NONE

Lubomir Rintel lkundrak at fedoraproject.org
Thu Jul 8 20:45:41 UTC 2010


Author: lkundrak

Update of /cvs/pkgs/rpms/gitolite/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14209/EL-6

Modified Files:
	.cvsignore gitolite.spec sources 
Added Files:
	gitolite-1.4.2-conf.patch gitolite-1.5-rpm.patch 
	gitolite-README-fedora import.log 
Removed Files:
	README gitolite-0.95-rpm.patch 
Log Message:
Pull from devel

gitolite-1.4.2-conf.patch:
 example.conf |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE gitolite-1.4.2-conf.patch ---
--- sitaramc-gitolite-v1.4.2-0-g820d3f5/conf/example.conf~	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/conf/example.conf	2010-04-23 16:25:56.963675820 -0500
@@ -59,6 +59,7 @@
 @interns    =   han
                 # "@interns" now has 3 names in it, but note that this does
                 # not change @staff
+ at others     =   janusz mariusz
 
 # REPO AND BRANCH PERMISSIONS
 # ---------------------------

gitolite-1.5-rpm.patch:
 sitaramc-gitolite-3ddc8aa.orig/hooks/common/update.orig              |only
 sitaramc-gitolite-3ddc8aa.orig/hooks/common/update.rej               |only
 sitaramc-gitolite-3ddc8aa.orig/src/gitolite.pm.orig                  |only
 sitaramc-gitolite-3ddc8aa.orig/src/gl-auth-command.orig              |only
 sitaramc-gitolite-3ddc8aa.orig/src/gl-auth-command.rej               |only
 sitaramc-gitolite-3ddc8aa.orig/src/gl-compile-conf.orig              |only
 sitaramc-gitolite-3ddc8aa.orig/src/gl-compile-conf.rej               |only
 sitaramc-gitolite-3ddc8aa.orig/src/gl-install.orig                   |only
 sitaramc-gitolite-3ddc8aa/hooks/common/update                        |    2 
 sitaramc-gitolite-3ddc8aa/src/gl-auth-command                        |    2 
 sitaramc-gitolite-3ddc8aa/src/gl-compile-conf                        |    2 
 sitaramc-gitolite-v1.4.2-0-g820d3f5/hooks/gitolite-admin/post-update |    2 
 sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gitolite.pm                  |    2 
 sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-auth-command              |    2 
 sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-compile-conf              |    4 -
 sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-install                   |   36 ++++------
 sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-setup                     |    2 
 17 files changed, 25 insertions(+), 29 deletions(-)

--- NEW FILE gitolite-1.5-rpm.patch ---
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/hooks/gitolite-admin/post-update sitaramc-gitolite-v1.4.2-0-g820d3f5/hooks/gitolite-admin/post-update
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/hooks/gitolite-admin/post-update	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/hooks/gitolite-admin/post-update	2010-04-23 16:09:46.107694728 -0500
@@ -15,7 +15,7 @@
 
 od=$PWD
 cd $GL_ADMINDIR
-$GL_BINDIR/gl-compile-conf
+gl-compile-conf
 
 cd $od
 
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gitolite.pm sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gitolite.pm
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gitolite.pm	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gitolite.pm	2010-04-23 16:10:26.674695513 -0500
@@ -280,7 +280,7 @@
 sub report_version {
     my($GL_ADMINDIR, $user) = @_;
     print "hello $user, the gitolite version here is ";
-    system("cat", ($GL_PACKAGE_CONF || "$GL_ADMINDIR/conf") . "/VERSION");
+    system("rpm", "-q", "--qf", '%{version}-%{release}', 'gitolite');
 }
 
 # basic means wildcards will be shown as wildcards; this is pretty much what
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-auth-command sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-auth-command
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-auth-command	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-auth-command	2010-04-23 16:12:50.316931744 -0500
@@ -33,7 +33,7 @@
 my $bindir = $0;
 $bindir =~ s/\/[^\/]+$//;
 $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
-require "$bindir/gitolite.pm";
+require gitolite;
 
 # ask where the rc file is, get it, and "do" it
 &where_is_rc();
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-compile-conf sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-compile-conf
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-compile-conf	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-compile-conf	2010-04-23 16:13:50.649928701 -0500
@@ -60,7 +60,7 @@
 my $bindir = $0;
 $bindir =~ s/\/[^\/]+$//;
 $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
-require "$bindir/gitolite.pm";
+require gitolite;
 
 # ask where the rc file is, get it, and "do" it
 &where_is_rc();
@@ -74,7 +74,7 @@
 # ----------------------------------------------------------------------------
 
 # command and options for authorized_keys
-$AUTH_COMMAND="$bindir/gl-auth-command";
+$AUTH_COMMAND="/usr/bin/gl-auth-command";
 $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
 
 # groups can now represent user groups or repo groups.
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-install sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-install
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-install	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-install	2010-04-23 16:19:15.030679332 -0500
@@ -24,18 +24,14 @@
 # the common setup module is in the same directory as this running program is
 my $bindir = $0;
 $bindir =~ s/\/[^\/]+$//;
-require "$bindir/gitolite.pm";
+require gitolite;
 
 # ask where the rc file is, get it, and "do" it
 &where_is_rc();
 unless ($ENV{GL_RC}) {
     # doesn't exist.  Copy it across, tell user to edit it and come back
     my $glrc = $ENV{HOME} . "/.gitolite.rc";
-    if ($GL_PACKAGE_CONF) {
-        system("cp $GL_PACKAGE_CONF/example.gitolite.rc $glrc");
-    } else {
-        system("cp $bindir/../conf/example.gitolite.rc $glrc");
-    }
+    system("cp /usr/share/gitolite/conf/example.gitolite.rc $glrc");
     print "created $glrc\n";
     print "please edit it, change the paths if you wish to, and RERUN THIS SCRIPT\n";
     exit;
@@ -52,18 +48,18 @@
 wrap_mkdir($repo_base_abs);
 wrap_mkdir($GL_ADMINDIR);
 # mkdir $GL_ADMINDIR's subdirs
-for my $dir qw(conf doc keydir logs src hooks hooks/common hooks/gitolite-admin) {
+for my $dir qw(conf keydir logs hooks hooks/common hooks/gitolite-admin) {
     # some of them will stay empty; too lazy to fix right now ;-)
     wrap_mkdir("$GL_ADMINDIR/$dir");
 }
 
 # "src" and "doc" will be overwritten on each install, but not conf
-if ($GL_PACKAGE_HOOKS) {
-    system("cp -R -p $GL_PACKAGE_HOOKS $GL_ADMINDIR");
-} else {
-    system("cp -R -p $bindir/../src $bindir/../doc $bindir/../hooks $GL_ADMINDIR");
-    system("cp       $bindir/../conf/VERSION                        $GL_ADMINDIR/conf");
-}
+#if ($GL_PACKAGE_HOOKS) {
+#    system("cp -R -p $GL_PACKAGE_HOOKS $GL_ADMINDIR");
+#} else {
+#    system("cp -R -p $bindir/../src $bindir/../doc $bindir/../hooks $GL_ADMINDIR");
+#    system("cp       $bindir/../conf/VERSION                        $GL_ADMINDIR/conf");
+#}
 
 unless (-f $GL_CONF or $GL_PACKAGE_CONF) {
     print <<EOF;
@@ -73,7 +69,7 @@
                 RW+     =   yourname
     2.  copy "yourname.pub" to $GL_ADMINDIR/keydir
     3.  run this command
-            $GL_ADMINDIR/src/gl-compile-conf
+            gl-compile-conf
 EOF
 }
 
@@ -82,7 +78,7 @@
 for my $repo (`find . -type d -name "*.git"`) {
     chomp ($repo);
     # propagate our own, plus any local admin-defined, hooks
-    ln_sf("$GL_ADMINDIR/hooks/common", "*", "$repo/hooks");
+    ln_sf("/usr/share/gitolite/hooks/common", "*", "$repo/hooks");
     # in case of package install, GL_ADMINDIR is no longer the top cop;
     # override with the package hooks
     ln_sf("$GL_PACKAGE_HOOKS/common", "*", "$repo/hooks") if $GL_PACKAGE_HOOKS;
@@ -93,7 +89,7 @@
 if ( -d "gitolite-admin.git/hooks" ) {
     print "copying post-update hook to gitolite-admin repo...\n";
     unlink "gitolite-admin.git/hooks/post-update";
-    symlink "$GL_ADMINDIR/hooks/gitolite-admin/post-update", "gitolite-admin.git/hooks/post-update"
+    symlink "/usr/share/gitolite/hooks/gitolite-admin/post-update", "gitolite-admin.git/hooks/post-update"
         or die "could not symlink post-update hook\n";
     # ditto... (see previous block)
     ln_sf("$GL_PACKAGE_HOOKS/gitolite-admin", "post-update", "gitolite-admin.git/hooks") if $GL_PACKAGE_HOOKS;
@@ -101,7 +97,7 @@
 }
 
 # fixup program renames
-for my $oldname qw(pta-hook.sh conf-convert.pl 00-easy-install.sh 99-emergency-addkey.sh install.pl update-hook.pl hooks/update ga-post-update-hook VERSION) {
-    unlink "$GL_ADMINDIR/src/$oldname";
-    unlink "$ENV{HOME}/gitolite-install/src/$oldname";
-}
+#for my $oldname qw(pta-hook.sh conf-convert.pl 00-easy-install.sh 99-emergency-addkey.sh install.pl update-hook.pl hooks/update ga-post-update-hook VERSION) {
+#    unlink "$GL_ADMINDIR/src/$oldname";
+#    unlink "$ENV{HOME}/gitolite-install/src/$oldname";
+#}
diff -U3 -r sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-setup sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-setup
--- sitaramc-gitolite-v1.4.2-0-g820d3f5.orig/src/gl-setup	2010-04-21 21:27:25.000000000 -0500
+++ sitaramc-gitolite-v1.4.2-0-g820d3f5/src/gl-setup	2010-04-23 16:19:53.849932100 -0500
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-GL_PACKAGE_CONF=/tmp/share/gitolite/conf
+GL_PACKAGE_CONF=/usr/share/gitolite/conf
 # must be the same as the value for the same variable in
 # $GL_PACKAGE_CONF/example.gitolite.rc.  Sorry about the catch-22 :)
 
diff -r -U3 sitaramc-gitolite-3ddc8aa.orig/hooks/common/update sitaramc-gitolite-3ddc8aa/hooks/common/update
--- sitaramc-gitolite-3ddc8aa.orig/hooks/common/update	2010-05-19 04:03:35.000000000 -0500
+++ sitaramc-gitolite-3ddc8aa/hooks/common/update	2010-05-20 16:08:35.094177610 -0500
@@ -35,7 +35,7 @@
 # we should already have the GL_RC env var set when we enter this hook
 die "parse $ENV{GL_RC} failed: "       . ($! or $@) unless do $ENV{GL_RC};
 
-require "$ENV{GL_BINDIR}/gitolite.pm";
+require gitolite;
 
 my ($perm, $creator, $wild) = &repo_rights($ENV{GL_REPO});
 my $reported_repo = $ENV{GL_REPO} . ( $ENV{GL_REPOPATT} ? " ($ENV{GL_REPOPATT})" : "" );
Only in sitaramc-gitolite-3ddc8aa.orig/hooks/common: update.orig
Only in sitaramc-gitolite-3ddc8aa.orig/hooks/common: update.rej
Only in sitaramc-gitolite-3ddc8aa.orig/src: gitolite.pm.orig
diff -r -U3 sitaramc-gitolite-3ddc8aa.orig/src/gl-auth-command sitaramc-gitolite-3ddc8aa/src/gl-auth-command
--- sitaramc-gitolite-3ddc8aa.orig/src/gl-auth-command	2010-05-20 16:05:15.692178554 -0500
+++ sitaramc-gitolite-3ddc8aa/src/gl-auth-command	2010-05-20 16:09:59.787173835 -0500
@@ -197,7 +197,7 @@
 if ($perm =~ /C/) {
     # it was missing, and you have create perms
     wrap_chdir("$repo_base_abs");
-    new_repo($repo, "$GL_ADMINDIR/hooks/common", $user);
+    new_repo($repo, "/usr/share/gitolite/hooks/common", $user);
     wrap_chdir($ENV{HOME});
 }
 
Only in sitaramc-gitolite-3ddc8aa.orig/src: gl-auth-command.orig
Only in sitaramc-gitolite-3ddc8aa.orig/src: gl-auth-command.rej
diff -r -U3 sitaramc-gitolite-3ddc8aa.orig/src/gl-compile-conf sitaramc-gitolite-3ddc8aa/src/gl-compile-conf
--- sitaramc-gitolite-3ddc8aa.orig/src/gl-compile-conf	2010-05-20 16:05:15.695174046 -0500
+++ sitaramc-gitolite-3ddc8aa/src/gl-compile-conf	2010-05-20 16:11:29.303178634 -0500
@@ -427,7 +427,7 @@
         next if $repo =~ m(^\@|EXTCMD/);    # these are not real repos
         unless (-d "$repo.git") {
             print STDERR "creating $repo...\n";
-            new_repo($repo, "$GL_ADMINDIR/hooks/common");
+            new_repo($repo, "/usr/share/gitolite/hooks/common");
             # new_repo would have chdir'd us away; come back
             wrap_chdir("$repo_base_abs");
         }
Only in sitaramc-gitolite-3ddc8aa.orig/src: gl-compile-conf.orig
Only in sitaramc-gitolite-3ddc8aa.orig/src: gl-compile-conf.rej
Only in sitaramc-gitolite-3ddc8aa.orig/src: gl-install.orig


--- NEW FILE gitolite-README-fedora ---
Setting up
----------

Setting up gitolite after rpm-install can be done as
follows.

On the server:

1)  Copy your public key to some easily accessible location,
    say /tmp/yourname.pub
2)  run "su - gitolite" to get a login shell on the gitolite
    user
3)  run "gl-setup /tmp/yourname.pub"

On whatever machine your key came from (maybe your
workstation or another account on the same server):

4)  run "git clone gitolite@<name.or.ip>:gitolite-admin" to
    start adding users and repos.

Quick Notes for admin operations
--------------------------------

To administer gitolite, make changes to the config file
(conf/gitolite.conf) and/or the pubkeys (in subdirectory
'keydir') in any clone, then git add, git commit, and git
push.

ADDING REPOS: Do NOT add repos manually on the server.  Edit
the config file to give *some* user access to the repo.
When you push, an empty repo will be created on the server.

ADDING USERS: copy their pubkey as keydir/<username>.pub,
add it, commit and push.

CONFIG FILE FORMAT: see comments in conf/example.conf in the
gitolite source.


--- NEW FILE import.log ---
gitolite-1_5_3-1_fc14:EL-6:gitolite-1.5.3-1.fc14.src.rpm:1278621918


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gitolite/EL-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	20 Jan 2010 23:49:45 -0000	1.2
+++ .cvsignore	8 Jul 2010 20:45:41 -0000	1.3
@@ -1 +1 @@
-gitolite-ed2bf5.tar.gz
+sitaramc-gitolite-v1.5.3-0-g0f5f82e.tar.gz


Index: gitolite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gitolite/EL-6/gitolite.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gitolite.spec	20 Jan 2010 23:49:45 -0000	1.1
+++ gitolite.spec	8 Jul 2010 20:45:41 -0000	1.2
@@ -1,8 +1,14 @@
 %global perl_vendorlib %(eval $(perl -V:vendorlib); echo $vendorlib)
+# RHEL uses %%{_prefix}/com for %{_sharedstatedir} instead of /var/lib
+%if 0%{?rhel}
+%global gitolite_homedir /var/lib/%{name}
+%else
+%global gitolite_homedir %{_sharedstatedir}/%{name}
+%endif
 
 Name:           gitolite
-Version:        0.95
-Release:        3.20091216git%{?dist}
+Version:        1.5.3
+Release:        1%{?dist}
 Summary:        Highly flexible server for git directory version tracker
 
 Group:          Applications/System
@@ -13,11 +19,12 @@ URL:            http://github.com/sitara
 # $ git clone git://github.com/sitaramc/gitolite.git gitolite
 # $ cd gitolite
 # $ git archive ed2bf5 |gzip >gitolite-ed2bf5.tar.gz
-Source0:        gitolite-ed2bf5.tar.gz
-Source1:        README
+#Source0:        gitolite-ed2bf5.tar.gz
+Source0:        sitaramc-gitolite-v1.5.3-0-g0f5f82e.tar.gz
+Source1:        gitolite-README-fedora
 # Far from being upstreamable
-Patch0:         gitolite-0.95-rpm.patch
-Patch1:         gitolite-0.95-conf.patch
+Patch0:         gitolite-1.5-rpm.patch
+Patch1:         gitolite-1.4.2-conf.patch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildArch:      noarch
@@ -44,7 +51,7 @@ elsewhere in the doc/ directory.
 
 
 %prep
-%setup -q -c
+%setup -qn sitaramc-gitolite-0f5f82e
 # Don't create backups; would mess with %%install
 %patch0 -p1
 %patch1 -p1
@@ -52,6 +59,8 @@ cp %{SOURCE1} .
 
 
 %build
+#Drop gl-easy-install per upstream.
+rm -f src/gl-easy-install
 # Format documentation
 for F in doc/*.mkd
 do
@@ -64,7 +73,8 @@ done
 rm -rf $RPM_BUILD_ROOT
 
 # Directory structure
-install -d $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}
+install -d $RPM_BUILD_ROOT%{gitolite_homedir}
+install -d $RPM_BUILD_ROOT%{gitolite_homedir}/.ssh
 install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT%{perl_vendorlib}
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -72,7 +82,10 @@ install -d $RPM_BUILD_ROOT%{_datadir}/%{
 # Code
 install -p src/gl-* $RPM_BUILD_ROOT%{_bindir}
 install -p -m644 src/*.pm $RPM_BUILD_ROOT%{perl_vendorlib}
-cp -a conf src/hooks src/ga-* $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a conf hooks $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+# empty authorized_keys file
+touch $RPM_BUILD_ROOT%{gitolite_homedir}/.ssh/authorized_keys
 
  
 %clean
@@ -80,11 +93,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %pre
-# Add "gitolite" user per http://fedoraproject.org/wiki/Packaging/UsersAndGroups
+# Add "gitolite" user per https://fedoraproject.org/wiki/Packaging:UsersAndGroups
 getent group %{name} >/dev/null || groupadd -r %{name}
 getent passwd %{name} >/dev/null || \
-useradd -r -g %{name} -d %{_sharedstatedir}/%{name} -s /bin/sh \
+useradd -r -g %{name} -d %{gitolite_homedir} -s /bin/sh \
         -c "git repository hosting" %{name}
+exit 0
 
 
 %files
@@ -92,11 +106,46 @@ useradd -r -g %{name} -d %{_sharedstated
 %{_bindir}/*
 %{perl_vendorlib}/*
 %{_datadir}/%{name}
-%attr(-,%{name},%{name}) %{_sharedstatedir}/%{name}
-%doc doc/COPYING doc/*.html README
+# make homedir non world readable
+%attr(750,%{name},%{name}) %{gitolite_homedir}
+%attr(750,%{name},%{name}) %{gitolite_homedir}/.ssh
+%config(noreplace) %attr(640,%{name},%{name}) %{gitolite_homedir}/.ssh/authorized_keys
+%doc doc/COPYING doc/*.html gitolite-README-fedora
 
 
 %changelog
+* Mon Jun 28 2010 Jon Ciesla <limb at jcomserv.net> - 1.5.3-1
+- New upstream.
+
+* Mon Jun 14 2010 Jon Ciesla <limb at jcomserv.net> - 1.5.2-1
+- New upstream.
+
+* Wed Jun 02 2010 Jon Ciesla <limb at jcomserv.net> - 1.5.1-1
+- New upstream, prevents having to run gl-setup as gitolite user.
+
+* Tue Jun 01 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.5-2
+- Mass rebuild with perl-5.12.0
+
+* Thu May 20 2010 Jon Ciesla <limb at jcomserv.net> - 1.5-1
+- Update to 1.5.
+
+* Fri Apr 23 2010 Jon Ciesla <limb at jcomserv.net> - 1.4.2-1
+- Update to 1.4.2.
+- Replaced README and removed gl-easy-install per upstream.
+
+* Tue Mar 23 2010 Jon Ciesla <limb at jcomserv.net> - 1.3-1
+- Update to 1.3, BZ 576233.
+- Updated rpm and conf patches accordingly.
+
+* Tue Feb 09 2010 Till Maas <opensource at till.name> - 0.95-4.20091216git
+- RHEL defines %%{_sharedstatedir} to be %%{_prefix}/com, so use a %%global
+  redirection to set the homedir to a proper value (/var/lib).
+  Red Hat Bug #185862
+- add missing exit 0 to %%pre
+- Update wiki UserAndGroups Url to the redirection target
+- create empty authorized_keys file for gitolite user
+- make homedir not world readable
+
 * Thu Jan 21 2010 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 0.95-3.20091216git
 - Add documentation
 - Rename upstream tarball


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gitolite/EL-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	20 Jan 2010 23:49:45 -0000	1.2
+++ sources	8 Jul 2010 20:45:41 -0000	1.3
@@ -1 +1 @@
-9e59e060c2a2b0953fe927046bef40d2  gitolite-ed2bf5.tar.gz
+22d2ee4e706bab6531d8452b534fc7e2  sitaramc-gitolite-v1.5.3-0-g0f5f82e.tar.gz


--- README DELETED ---


--- gitolite-0.95-rpm.patch DELETED ---



More information about the scm-commits mailing list