rpms/git/F-13 .cvsignore, 1.91, 1.92 git.spec, 1.106, 1.107 sources, 1.91, 1.92

Todd Zullinger tmz at fedoraproject.org
Sat Jun 12 12:42:41 UTC 2010


Author: tmz

Update of /cvs/pkgs/rpms/git/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24602

Modified Files:
	.cvsignore git.spec sources 
Log Message:
Update to git-1.7.1

- Fix conditionals for EL-6
- Comply with Emacs add-on packaging guidelines (#573423), Jonathan Underwood
  - Place elisp source files in separate emacs-git-el package
  - Place git support files in own directory under site-lisp
  - Use Emacs packaging macros



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/git/F-13/.cvsignore,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -p -r1.91 -r1.92
--- .cvsignore	1 Mar 2010 14:29:54 -0000	1.91
+++ .cvsignore	12 Jun 2010 12:42:39 -0000	1.92
@@ -1 +1 @@
-git-1.7.0.1.tar.bz2
+git-1.7.1.tar.bz2


Index: git.spec
===================================================================
RCS file: /cvs/pkgs/rpms/git/F-13/git.spec,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -p -r1.106 -r1.107
--- git.spec	1 Mar 2010 14:29:55 -0000	1.106
+++ git.spec	12 Jun 2010 12:42:39 -0000	1.107
@@ -6,7 +6,7 @@
 %endif
 
 Name:           git
-Version:        1.7.0.1
+Version:        1.7.1
 Release:        1%{?dist}
 Summary:        Fast Version Control System
 License:        GPLv2
@@ -26,7 +26,7 @@ Patch2:         git-1.6-update-contrib-h
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 BuildRequires:  emacs >= 22.2
 BuildRequires:  libcurl-devel
 %else
@@ -68,19 +68,21 @@ SCMs, install the git-all meta-package.
 %package all
 Summary:        Meta-package to pull in all git tools
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}
-Requires:       git-svn = %{version}-%{release}
+%if 0%{?fedora}
+Requires:       git-arch = %{version}-%{release}
+%endif
 Requires:       git-cvs = %{version}-%{release}
 Requires:       git-email = %{version}-%{release}
-Requires:       gitk = %{version}-%{release}
 Requires:       git-gui = %{version}-%{release}
+Requires:       git-svn = %{version}-%{release}
+Requires:       gitk = %{version}-%{release}
 Requires:       perl-Git = %{version}-%{release}
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 Requires:       emacs-git = %{version}-%{release}
-Requires:       git-arch = %{version}-%{release}
 %endif
 %if 0%{?fedora} || 0%{?rhel} >= 5
 Obsoletes:      git <= 1.5.4.3
@@ -107,7 +109,7 @@ The git dæmon for supporting git:// acc
 %package -n gitweb
 Summary:        Simple web interface to git repositories
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}
@@ -119,7 +121,7 @@ Simple web interface to track changes in
 %package svn
 Summary:        Git tools for importing Subversion repositories
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}, subversion, perl(Term::ReadKey)
@@ -129,7 +131,7 @@ Git tools for importing Subversion repos
 %package cvs
 Summary:        Git tools for importing CVS repositories
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}, cvs
@@ -143,9 +145,7 @@ Git tools for importing CVS repositories
 %package arch
 Summary:        Git tools for importing Arch repositories
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
 BuildArch:      noarch
-%endif
 Requires:       git = %{version}-%{release}, tla
 %description arch
 Git tools for importing Arch repositories.
@@ -154,7 +154,7 @@ Git tools for importing Arch repositorie
 %package email
 Summary:        Git tools for sending email
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}, perl-Git = %{version}-%{release}
@@ -168,7 +168,7 @@ Git tools for sending email.
 %package gui
 Summary:        Git GUI tool
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}, tk >= 8.4
@@ -179,7 +179,7 @@ Git GUI tool.
 %package -n gitk
 Summary:        Git revision tree visualiser
 Group:          Development/Tools
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}, tk >= 8.4
@@ -189,7 +189,7 @@ Git revision tree visualiser.
 %package -n perl-Git
 Summary:        Perl interface to Git
 Group:          Development/Libraries
-%if 0%{?fedora} >= 10
+%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6
 BuildArch:      noarch
 %endif
 Requires:       git = %{version}-%{release}
@@ -202,17 +202,24 @@ Requires:       perl(:MODULE_COMPAT_%(ev
 %description -n perl-Git
 Perl interface to Git.
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 %package -n emacs-git
 Summary:        Git version control system support for Emacs
 Group:          Applications/Editors
-%if 0%{?fedora} >= 10
 BuildArch:      noarch
-%endif
-Requires:       git = %{version}-%{release}, emacs-common >= 22.2
+Requires:       git = %{version}-%{release}, emacs(bin) >= %{_emacs_version}
 
 %description -n emacs-git
 %{summary}.
+
+%package -n emacs-git-el
+Summary:        Elisp source files for git version control system support for Emacs
+Group:          Applications/Editors
+BuildArch:      noarch
+Requires:       emacs-git = %{version}-%{release}
+
+%description -n emacs-git-el
+%{summary}.
 %endif
 
 %prep
@@ -237,7 +244,7 @@ htmldir = %{_docdir}/%{name}-%{version}
 prefix = %{_prefix}
 EOF
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 cat << \EOF >> config.mak
 ASCIIDOC8 = 1
 ASCIIDOC_NO_ROFF = 1
@@ -262,7 +269,7 @@ chmod +x %{__perl_requires}
 %build
 make %{?_smp_mflags} all %{!?_without_docs: doc}
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 make -C contrib/emacs
 %endif
 
@@ -273,15 +280,16 @@ sed -i '/^#!bash/,+1 d' contrib/completi
 rm -rf %{buildroot}
 make %{?_smp_mflags} INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
+%global elispdir %{_emacs_sitelispdir}/git
 make -C contrib/emacs install \
-    emacsdir=%{buildroot}%{_datadir}/emacs/site-lisp
-for elc in %{buildroot}%{_datadir}/emacs/site-lisp/*.elc ; do
+    emacsdir=%{buildroot}%{elispdir}
+for elc in %{buildroot}%{elispdir}/*.elc ; do
     install -pm 644 contrib/emacs/$(basename $elc .elc).el \
-    %{buildroot}%{_datadir}/emacs/site-lisp
+    %{buildroot}%{elispdir}
 done
 install -Dpm 644 %{SOURCE1} \
-    %{buildroot}%{_datadir}/emacs/site-lisp/site-start.d/git-init.el
+    %{buildroot}%{_emacs_sitestartdir}/git-init.el
 %endif
 
 mkdir -p %{buildroot}%{_var}/www/git
@@ -414,12 +422,17 @@ rm -rf %{buildroot}
 %files -n perl-Git -f perl-files
 %defattr(-,root,root)
 
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 6
 %files -n emacs-git
 %defattr(-,root,root)
 %doc contrib/emacs/README
-%{_datadir}/emacs/site-lisp/*git*.el*
-%{_datadir}/emacs/site-lisp/site-start.d/git-init.el
+%dir %{elispdir}
+%{elispdir}/*.elc
+%{_emacs_sitestartdir}/git-init.el
+
+%files -n emacs-git-el
+%defattr(-,root,root)
+%{elispdir}/*.el
 %endif
 
 %files daemon
@@ -443,6 +456,17 @@ rm -rf %{buildroot}
 # No files for you!
 
 %changelog
+* Tue May 04 2010 Todd Zullinger <tmz at pobox.com> - 1.7.1-1
+- git-1.7.1
+- Fix conditionals for EL-6
+- Comply with Emacs add-on packaging guidelines (#573423), Jonathan Underwood
+  - Place elisp source files in separate emacs-git-el package
+  - Place git support files in own directory under site-lisp
+  - Use Emacs packaging macros
+
+* Thu Apr 29 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.7.0.1-2
+- Mass rebuild with perl-5.12.0
+
 * Mon Mar 01 2010 Todd Zullinger <tmz at pobox.com> - 1.7.0.1-1
 - git-1.7.0.1
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/git/F-13/sources,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -p -r1.91 -r1.92
--- sources	1 Mar 2010 14:29:55 -0000	1.91
+++ sources	12 Jun 2010 12:42:39 -0000	1.92
@@ -1 +1 @@
-c4315200efc90ea0f243cf0e86cda1f1  git-1.7.0.1.tar.bz2
+3da231dbe82ad103373cb530ae7475d5  git-1.7.1.tar.bz2



More information about the scm-commits mailing list