Update to 1.8.0.1
- include git-subtree in git rpm (#864651) Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
		
							parent
							
								
									8c6dafd613
								
							
						
					
					
						commit
						a525ecd701
					
				
							
								
								
									
										32
									
								
								0001-DESTDIR-support-in-contrib-subtree-Makefile.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								0001-DESTDIR-support-in-contrib-subtree-Makefile.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | |||||||
|  | From 02b6c8d3c07e3ca9aa091d4a865fe036e1794cbd Mon Sep 17 00:00:00 2001 | ||||||
|  | From: Adam Tkac <atkac@redhat.com> | ||||||
|  | Date: Thu, 29 Nov 2012 16:18:03 +0100 | ||||||
|  | Subject: [PATCH] DESTDIR support in contrib/subtree/Makefile | ||||||
|  | 
 | ||||||
|  | Signed-off-by: Adam Tkac <atkac@redhat.com> | ||||||
|  | ---
 | ||||||
|  |  contrib/subtree/Makefile | 4 ++-- | ||||||
|  |  1 file changed, 2 insertions(+), 2 deletions(-) | ||||||
|  | 
 | ||||||
|  | diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
 | ||||||
|  | index 05cdd5c..36ae3e4 100644
 | ||||||
|  | --- a/contrib/subtree/Makefile
 | ||||||
|  | +++ b/contrib/subtree/Makefile
 | ||||||
|  | @@ -30,12 +30,12 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
 | ||||||
|  |  doc: $(GIT_SUBTREE_DOC) | ||||||
|  |   | ||||||
|  |  install: $(GIT_SUBTREE) | ||||||
|  | -	$(INSTALL) -m 755 $(GIT_SUBTREE) $(libexecdir)
 | ||||||
|  | +	$(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
 | ||||||
|  |   | ||||||
|  |  install-doc: install-man | ||||||
|  |   | ||||||
|  |  install-man: $(GIT_SUBTREE_DOC) | ||||||
|  | -	$(INSTALL) -m 644 $^ $(man1dir)
 | ||||||
|  | +	$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
 | ||||||
|  |   | ||||||
|  |  $(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML) | ||||||
|  |  	xmlto -m $(MANPAGE_NORMAL_XSL)  man $^ | ||||||
|  | -- 
 | ||||||
|  | 1.8.0.1 | ||||||
|  | 
 | ||||||
							
								
								
									
										13
									
								
								git.spec
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								git.spec
									
									
									
									
									
								
							| @ -77,7 +77,7 @@ | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| Name:           git | Name:           git | ||||||
| Version:        1.8.0 | Version:        1.8.0.1 | ||||||
| Release:        1%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        Fast Version Control System | Summary:        Fast Version Control System | ||||||
| License:        GPLv2 | License:        GPLv2 | ||||||
| @ -94,6 +94,7 @@ Patch0:         git-1.5-gitweb-home-link.patch | |||||||
| Patch1:         git-cvsimport-Ignore-cvsps-2.2b1-Branches-output.patch | Patch1:         git-cvsimport-Ignore-cvsps-2.2b1-Branches-output.patch | ||||||
| # https://bugzilla.redhat.com/600411 | # https://bugzilla.redhat.com/600411 | ||||||
| Patch3:         git-1.7-el5-emacs-support.patch | Patch3:         git-1.7-el5-emacs-support.patch | ||||||
|  | Patch4:         0001-DESTDIR-support-in-contrib-subtree-Makefile.patch | ||||||
| 
 | 
 | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||||||
| 
 | 
 | ||||||
| @ -327,6 +328,7 @@ Requires:       emacs-git = %{version}-%{release} | |||||||
| %if %{emacs_old} | %if %{emacs_old} | ||||||
| %patch3 -p1 | %patch3 -p1 | ||||||
| %endif | %endif | ||||||
|  | %patch4 -p1 | ||||||
| 
 | 
 | ||||||
| # Use these same options for every invocation of 'make'. | # Use these same options for every invocation of 'make'. | ||||||
| # Otherwise it will rebuild in %%install due to flags changes. | # Otherwise it will rebuild in %%install due to flags changes. | ||||||
| @ -380,6 +382,8 @@ make -C contrib/emacs | |||||||
| make -C contrib/credential/gnome-keyring/ | make -C contrib/credential/gnome-keyring/ | ||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
|  | make -C contrib/subtree/ | ||||||
|  | 
 | ||||||
| # Remove shebang from bash-completion script | # Remove shebang from bash-completion script | ||||||
| sed -i '/^#!bash/,+1 d' contrib/completion/git-completion.bash | sed -i '/^#!bash/,+1 d' contrib/completion/git-completion.bash | ||||||
| 
 | 
 | ||||||
| @ -408,6 +412,9 @@ install -pm 755 contrib/credential/gnome-keyring/git-credential-gnome-keyring \ | |||||||
|     %{buildroot}%{gitcoredir} |     %{buildroot}%{gitcoredir} | ||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
|  | make -C contrib/subtree install | ||||||
|  | make -C contrib/subtree install-doc | ||||||
|  | 
 | ||||||
| mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d | mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d | ||||||
| install -pm 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/httpd/conf.d/git.conf | install -pm 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/httpd/conf.d/git.conf | ||||||
| sed "s|@PROJECTROOT@|%{_var}/lib/git|g" \ | sed "s|@PROJECTROOT@|%{_var}/lib/git|g" \ | ||||||
| @ -599,6 +606,10 @@ rm -rf %{buildroot} | |||||||
| # No files for you! | # No files for you! | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Thu Nov 29 2012 Adam Tkac <atkac redhat com> - 1.8.0.1-1 | ||||||
|  | - update to 1.8.0.1 | ||||||
|  | - include git-subtree in git rpm (#864651) | ||||||
|  | 
 | ||||||
| * Mon Oct 29 2012 Adam Tkac <atkac redhat com> - 1.8.0-1 | * Mon Oct 29 2012 Adam Tkac <atkac redhat com> - 1.8.0-1 | ||||||
| - update to 1.8.0 | - update to 1.8.0 | ||||||
| - include git-credential-gnome-keyring helper in git pkg | - include git-credential-gnome-keyring helper in git pkg | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user