Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 295137 Details for
Bug 433255
Include bash completion for git (patch attached)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to add a git-completion subpackage and fix some rpmlint warnings.
git-add-bash-completion-subpackage.patch (text/plain), 7.85 KB, created by
Todd Zullinger
on 2008-02-18 06:40:53 UTC
(
hide
)
Description:
patch to add a git-completion subpackage and fix some rpmlint warnings.
Filename:
MIME Type:
Creator:
Todd Zullinger
Created:
2008-02-18 06:40:53 UTC
Size:
7.85 KB
patch
obsolete
>Index: git.spec >=================================================================== >RCS file: /cvs/extras/rpms/git/devel/git.spec,v >retrieving revision 1.53 >diff -u -p -r1.53 git.spec >--- git.spec 17 Feb 2008 16:12:31 -0000 1.53 >+++ git.spec 18 Feb 2008 06:01:26 -0000 >@@ -1,30 +1,29 @@ > # Pass --without docs to rpmbuild if you don't want the documentation >-Name: git >-Version: 1.5.4.2 >-Release: 1%{?dist} >-Summary: Git core and tools >-License: GPLv2 >-Group: Development/Tools >-URL: http://kernel.org/pub/software/scm/git/ >-Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz >-Source1: git-init.el >-Source2: git.xinetd >-Source3: git.conf.httpd >-Patch0: git-1.5-gitweb-home-link.patch >+Name: git >+Version: 1.5.4.2 >+Release: 2%{?dist} >+Summary: Git core and tools >+License: GPLv2 >+Group: Development/Tools >+URL: http://kernel.org/pub/software/scm/git/ >+Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz >+Source1: git-init.el >+Source2: git.xinetd >+Source3: git.conf.httpd >+Patch0: git-1.5-gitweb-home-link.patch > Patch1: git-gitweb-commitdiff.patch >-BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel, emacs, gettext %{!?_without_docs:, xmlto, asciidoc > 6.0.3} >-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >- >-Requires: git-core = %{version}-%{release} >-Requires: git-svn = %{version}-%{release} >-Requires: git-cvs = %{version}-%{release} >-Requires: git-arch = %{version}-%{release} >-Requires: git-email = %{version}-%{release} >-Requires: gitk = %{version}-%{release} >-Requires: git-gui = %{version}-%{release} >-Requires: perl-Git = %{version}-%{release} >-Requires: emacs-git = %{version}-%{release} >+BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel, emacs, gettext %{!?_without_docs:, xmlto, asciidoc > 6.0.3} >+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >+Requires: git-core = %{version}-%{release} >+Requires: git-svn = %{version}-%{release} >+Requires: git-cvs = %{version}-%{release} >+Requires: git-arch = %{version}-%{release} >+Requires: git-email = %{version}-%{release} >+Requires: gitk = %{version}-%{release} >+Requires: git-gui = %{version}-%{release} >+Requires: perl-Git = %{version}-%{release} >+Requires: emacs-git = %{version}-%{release} > > %description > Git is a fast, scalable, distributed revision control system with an >@@ -34,9 +33,9 @@ and full access to internals. > This is a dummy package which brings in all subpackages. > > %package core >-Summary: Core git tools >-Group: Development/Tools >-Requires: zlib >= 1.2, rsync, curl, less, openssh-clients, expat, perl(Error) >+Summary: Core git tools >+Group: Development/Tools >+Requires: zlib >= 1.2, rsync, curl, less, openssh-clients, expat, perl(Error) > %description core > Git is a fast, scalable, distributed revision control system with an > unusually rich command set that provides both high-level operations >@@ -45,9 +44,9 @@ and full access to internals. > These are the core tools with minimal dependencies. > > %package daemon >-Summary: Git protocol dæmon >-Group: Development/Tools >-Requires: git-core = %{version}-%{release} >+Summary: Git protocol dæmon >+Group: Development/Tools >+Requires: git-core = %{version}-%{release} > %description daemon > The git dæmon for supporting git:// access to git repositories > >@@ -59,7 +58,6 @@ Requires: git-core = %{version}-%{ > %description -n gitweb > Simple web interface to track changes in git repositories > >- > %package svn > Summary: Git tools for importing Subversion repositories > Group: Development/Tools >@@ -84,7 +82,7 @@ Git tools for importing Arch repositorie > %package email > Summary: Git tools for sending email > Group: Development/Tools >-Requires: git-core = %{version}-%{release}, perl-Git = %{version}-%{release} >+Requires: git-core = %{version}-%{release}, perl-Git = %{version}-%{release} > %description email > Git tools for sending email. > >@@ -120,6 +118,13 @@ Requires: git-core = %{version}-%{r > %description -n emacs-git > %{summary}. > >+%package completion >+Summary: Bash completion for git >+Group: Development/Tools >+Requires: git-core = %{version}-%{release}, bash-completion >+%description completion >+Bash completion for git. >+ > %prep > %setup -q > %patch0 -p1 >@@ -138,13 +143,13 @@ make %{_smp_mflags} CFLAGS="$RPM_OPT_FLA > ETC_GITCONFIG=/etc/gitconfig \ > INSTALLDIRS=vendor install %{!?_without_docs: install-doc} > make -C contrib/emacs install \ >- emacsdir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp >+ emacsdir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp > for elc in $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/*.elc ; do >- install -pm 644 contrib/emacs/$(basename $elc .elc).el \ >- $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp >+ install -pm 644 contrib/emacs/$(basename $elc .elc).el \ >+ $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp > done > install -Dpm 644 %{SOURCE1} \ >- $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/git-init.el >+ $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/git-init.el > mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/xinetd.d > install -m 644 %SOURCE2 $RPM_BUILD_ROOT/%{_sysconfdir}/xinetd.d/git > mkdir -p $RPM_BUILD_ROOT/var/www/git >@@ -166,11 +171,19 @@ rm -rf $RPM_BUILD_ROOT%{_mandir} > %endif > mkdir -p $RPM_BUILD_ROOT/srv/git > >+# remove some cruft we don't need to end up in the gitweb docs >+rm -rf Documentation/technical/{.gitignore,api-index.sh} >+ >+# bash completion >+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d >+install -m 644 -p contrib/completion/git-completion.bash \ >+ $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/git >+ > %clean > rm -rf $RPM_BUILD_ROOT > > %files >-# These are no files in the root package >+# There are no files in the root package > > %files svn > %defattr(-,root,root) >@@ -241,16 +254,27 @@ rm -rf $RPM_BUILD_ROOT > %files -n gitweb > %defattr(-,root,root) > /var/www/git/ >-%{_sysconfdir}/httpd/conf.d/git.conf >+%config(noreplace)%{_sysconfdir}/httpd/conf.d/git.conf > %{!?_without_docs: %doc Documentation/*.html Documentation/howto} > %{!?_without_docs: %doc Documentation/technical} > >+%files completion >+%defattr(-,root,root) >+%config(noreplace)%{_sysconfdir}/bash_completion.d/git >+ > %changelog >+* Mon Feb 18 2008 Todd Zullinger <tmz@pobox.com> - 1.5.4.2-2 >+- add git-completion subpackage for bash completion >+- mark gitweb config as %%config(noreplace) >+- quiet some minor rpmlint warnings: >+ git.spec: mixed-use-of-spaces-and-tabs and macro-in-changelog >+ gitweb: version-control-internal-file and spurious-executable-perm >+ > * Sun Feb 17 2008 James Bowes <jbowes@redhat.com> 1.5.4.2-1 > - git-1.5.4.2 > > * Mon Feb 11 2008 Jeremy Katz <katzj@redhat.com> - 1.5.4.1-2 >-- Add upstream patch (e62a641de17b172ffc4d3a803085c8afbfbec3d1) to have >+- Add upstream patch (e62a641de17b172ffc4d3a803085c8afbfbec3d1) to have > gitweb rss feeds point be commitdiffs instead of commit > > * Sun Feb 10 2008 James Bowes <jbowes@redhat.com> 1.5.4.1-1 >@@ -421,7 +445,7 @@ rm -rf $RPM_BUILD_ROOT > * Tue Jan 10 2006 Chris Wright <chrisw@redhat.com> 1.1.0-1 > - Update to latest git-1.1.0 (drop git-email for now) > - Now creates multiple packages: >-- git-core, git-svn, git-cvs, git-arch, gitk >+- git-core, git-svn, git-cvs, git-arch, gitk > > * Mon Nov 14 2005 H. Peter Anvin <hpa@zytor.com> 0.99.9j-1 > - Change subpackage names to git-<name> instead of git-core-<name> >@@ -458,7 +482,7 @@ rm -rf $RPM_BUILD_ROOT > * Wed Aug 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.99.4-3 > - use dist tag to differentiate between branches > - use rpm optflags by default (patch0) >-- own %{_datadir}/git-core/ >+- own %%{_datadir}/git-core/ > > * Mon Aug 15 2005 Chris Wright <chrisw@osdl.org> > - update spec file to fix Buildroot, Requires, and drop Vendor
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 433255
:
295137
|
295722
|
295744
|
298305