packages: gitolite/gitolite.spec - generate proper perl deps - avoid /etc/g...
sparky
sparky at pld-linux.org
Mon Jun 7 15:20:13 CEST 2010
Author: sparky Date: Mon Jun 7 13:20:13 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- generate proper perl deps
- avoid /etc/gitolite being listed twice in %files
- a bit more verbose %files
---- Files affected:
packages/gitolite:
gitolite.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/gitolite/gitolite.spec
diff -u packages/gitolite/gitolite.spec:1.5 packages/gitolite/gitolite.spec:1.6
--- packages/gitolite/gitolite.spec:1.5 Mon Jun 7 15:16:51 2010
+++ packages/gitolite/gitolite.spec Mon Jun 7 15:20:07 2010
@@ -1,7 +1,7 @@
# $Revision$, $Date$
# TODO:
-# - what to do with .pm file installed in %{_bindir}?
# - how is it excpected to cooperate with git-daemon?
+%include /usr/lib/rpm/macros.perl
Summary: Software for hosting git repositories
Summary(pl.UTF-8): Narzędzie do hostowania repozytoriów git
Name: gitolite
@@ -21,6 +21,9 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _noautoprov ^perl(gitolite)$
+%define _noautoreq ^perl(gitolite)$
+
%description
Gitolite allows a server to host many git repositories and provide
access to many developers, without having to give them real userids on
@@ -71,9 +74,10 @@
%doc README.mkd doc
%dir %{_sysconfdir}/gitolite
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitolite/*
%{_datadir}/gitolite
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/gl-*
+%attr(755,root,root) %{_bindir}/sshkeys-lint
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -81,6 +85,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2010/06/07 13:20:07 sparky
+- generate proper perl deps
+- avoid /etc/gitolite being listed twice in %files
+- a bit more verbose %files
+
Revision 1.5 2010/06/07 13:16:51 pawelz
- preserve -x of scripts
@@ -97,4 +106,3 @@
Revision 1.1 2010/06/07 12:38:19 pawelz
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gitolite/gitolite.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list