Blame SPECS/git.spec

66f803
# Pass --without docs to rpmbuild if you don't want the documentation
66f803
%bcond_without docs
66f803
66f803
# Pass --without tests to rpmbuild if you don't want to run the tests
66f803
%bcond_without tests
66f803
66f803
%global gitexecdir          %{_libexecdir}/git-core
66f803
66f803
# Settings for Fedora >= 34
66f803
%if 0%{?fedora} >= 34
66f803
%bcond_with                 emacs
66f803
%else
66f803
%bcond_without              emacs
66f803
%endif
66f803
66f803
# Settings for Fedora
66f803
%if 0%{?fedora}
66f803
# linkchecker is not available on EL
66f803
%bcond_without              linkcheck
66f803
%else
66f803
%bcond_with                 linkcheck
66f803
%endif
66f803
66f803
# Settings for Fedora and EL >= 9
66f803
%if 0%{?fedora} || 0%{?rhel} >= 9
66f803
%bcond_without              asciidoctor
66f803
%else
66f803
%bcond_with                 asciidoctor
66f803
%endif
66f803
66f803
# Settings for Fedora and EL > 7
66f803
%if 0%{?fedora} || 0%{?rhel} > 7
66f803
%bcond_with                 python2
66f803
%bcond_without              python3
66f803
%global gitweb_httpd_conf   gitweb.conf
66f803
%global use_glibc_langpacks 1
66f803
%global use_perl_generators 1
66f803
%global use_perl_interpreter 1
66f803
%else
66f803
%bcond_without              python2
66f803
%bcond_with                 python3
66f803
%global gitweb_httpd_conf   git.conf
66f803
%global use_glibc_langpacks 0
66f803
%global use_perl_generators 0
66f803
%global use_perl_interpreter 0
66f803
%endif
66f803
66f803
# Settings for Fedora and EL >= 7
66f803
%if 0%{?fedora} || 0%{?rhel} >= 7
66f803
%bcond_without              libsecret
66f803
%global bashcomp_pkgconfig  1
66f803
%global bashcompdir         %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
66f803
%global bashcomproot        %(dirname %{bashcompdir} 2>/dev/null)
66f803
%global emacs_filesystem    1
66f803
%global use_new_rpm_filters 1
66f803
%global use_systemd         1
66f803
%else
66f803
%bcond_with                 libsecret
66f803
%global bashcomp_pkgconfig  0
66f803
%global bashcompdir         %{_sysconfdir}/bash_completion.d
66f803
%global bashcomproot        %{bashcompdir}
66f803
%global emacs_filesystem    0
66f803
%global use_new_rpm_filters 0
66f803
%global use_systemd         0
66f803
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
66f803
%endif
66f803
66f803
# Allow cvs subpackage to be toggled via --with/--without
66f803
# Disable cvs subpackage by default on EL > 7
66f803
%if 0%{?rhel} > 7
66f803
%bcond_with                 cvs
66f803
%else
66f803
%bcond_without              cvs
66f803
%endif
66f803
66f803
# Allow p4 subpackage to be toggled via --with/--without
66f803
# Disable by default if we lack python2 support
66f803
%if %{without python2}
66f803
%bcond_with                 p4
66f803
%else
66f803
%bcond_without              p4
66f803
%endif
66f803
66f803
# Hardening flags for EL-7
66f803
%if 0%{?rhel} == 7
66f803
%global _hardened_build     1
66f803
%endif
66f803
66f803
# Hardening flags for EL-6
66f803
%if 0%{?rhel} == 6
66f803
%global build_cflags        %{build_cflags} -fPIC -pie
66f803
%global build_ldflags       -Wl,-z,relro -Wl,-z,now
66f803
%endif
66f803
66f803
# Define for release candidates
66f803
#global rcrev   .rc0
66f803
66f803
Name:           git
66f803
Version:        2.31.1
66f803
Release:        2%{?rcrev}%{?dist}.2
66f803
Summary:        Fast Version Control System
66f803
License:        GPLv2
66f803
URL:            https://git-scm.com/
66f803
Source0:        https://www.kernel.org/pub/software/scm/git/%{?rcrev:testing/}%{name}-%{version}%{?rcrev}.tar.xz
66f803
Source1:        https://www.kernel.org/pub/software/scm/git/%{?rcrev:testing/}%{name}-%{version}%{?rcrev}.tar.sign
66f803
66f803
# Junio C Hamano's key is used to sign git releases, it can be found in the
66f803
# junio-gpg-pub tag within git.
66f803
#
66f803
# (Note that the tagged blob in git contains a version of the key with an
66f803
# expired signing subkey.  The subkey expiration has been extended on the
66f803
# public keyservers, but the blob in git has not been updated.)
66f803
#
66f803
# https://git.kernel.org/cgit/git/git.git/tag/?h=junio-gpg-pub
66f803
# https://git.kernel.org/cgit/git/git.git/blob/?h=junio-gpg-pub&id=7214aea37915ee2c4f6369eb9dea520aec7d855b
66f803
Source2:        gpgkey-junio.asc
66f803
66f803
# Local sources begin at 10 to allow for additional future upstream sources
66f803
Source11:       git.xinetd.in
66f803
Source12:       git-gui.desktop
66f803
Source13:       gitweb-httpd.conf
66f803
Source14:       gitweb.conf.in
66f803
Source15:       git@.service.in
66f803
Source16:       git.socket
66f803
66f803
# Script to print test failure output (used in %%check)
66f803
Source99:       print-failed-test-output
66f803
66f803
# https://bugzilla.redhat.com/490602
66f803
Patch0:         git-cvsimport-Ignore-cvsps-2.2b1-Branches-output.patch
66f803
# https://bugzilla.redhat.com/1956345
66f803
Patch1:         git-2.27.0-core-crypto-hmac.patch
66f803
66f803
%if %{with docs}
66f803
# pod2man is needed to build Git.3pm
66f803
BuildRequires:  %{_bindir}/pod2man
66f803
%if %{with asciidoctor}
66f803
BuildRequires:  docbook5-style-xsl
66f803
BuildRequires:  rubygem-asciidoctor
66f803
%else
66f803
BuildRequires:  asciidoc >= 8.4.1
66f803
%endif
66f803
# endif with asciidoctor
66f803
BuildRequires:  xmlto
66f803
%if %{with linkcheck}
66f803
BuildRequires:  linkchecker
66f803
%endif
66f803
# endif with linkcheck
66f803
%endif
66f803
# endif with docs
66f803
BuildRequires:  desktop-file-utils
66f803
BuildRequires:  diffutils
66f803
%if %{with emacs}
66f803
BuildRequires:  emacs-common
66f803
%endif
66f803
# endif emacs-common
66f803
%if 0%{?rhel} && 0%{?rhel} < 9
66f803
# Require epel-rpm-macros for the %%gpgverify macro on EL-7/EL-8, and
66f803
# %%build_cflags & %%build_ldflags on EL-7.
66f803
BuildRequires:  epel-rpm-macros
66f803
%endif
66f803
# endif rhel < 9
66f803
BuildRequires:  expat-devel
66f803
BuildRequires:  findutils
66f803
BuildRequires:  gawk
66f803
BuildRequires:  gcc
66f803
BuildRequires:  gettext
66f803
BuildRequires:  gnupg2
66f803
BuildRequires:  libcurl-devel
66f803
BuildRequires:  make
66f803
BuildRequires:  openssl-devel
66f803
BuildRequires:  pcre2-devel
66f803
BuildRequires:  perl(Error)
66f803
BuildRequires:  perl(lib)
66f803
BuildRequires:  perl(Test)
66f803
%if %{use_perl_generators}
66f803
BuildRequires:  perl-generators
66f803
%endif
66f803
# endif use_perl_generators
66f803
%if %{use_perl_interpreter}
66f803
BuildRequires:  perl-interpreter
66f803
%else
66f803
BuildRequires:  perl
66f803
%endif
66f803
# endif use_perl_interpreter
66f803
%if %{bashcomp_pkgconfig}
66f803
BuildRequires:  pkgconfig(bash-completion)
66f803
%endif
66f803
# endif bashcomp_pkgconfig
66f803
BuildRequires:  sed
66f803
%if %{use_systemd}
66f803
# For macros
66f803
BuildRequires:  systemd
66f803
%endif
66f803
# endif use_systemd
66f803
BuildRequires:  tcl
66f803
BuildRequires:  tk
66f803
BuildRequires:  xz
66f803
BuildRequires:  zlib-devel >= 1.2
66f803
66f803
%if %{with tests}
66f803
# Test suite requirements
66f803
BuildRequires:  acl
66f803
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
66f803
# Needed by t5540-http-push-webdav.sh
66f803
BuildRequires: apr-util-bdb
66f803
%endif
66f803
# endif fedora >= 27
66f803
BuildRequires:  bash
66f803
%if %{with cvs}
66f803
BuildRequires:  cvs
66f803
BuildRequires:  cvsps
66f803
%endif
66f803
# endif with cvs
66f803
%if %{use_glibc_langpacks}
66f803
# glibc-all-langpacks and glibc-langpack-is are needed for GETTEXT_LOCALE and
66f803
# GETTEXT_ISO_LOCALE test prereq's, glibc-langpack-en ensures en_US.UTF-8.
66f803
BuildRequires:  glibc-all-langpacks
66f803
BuildRequires:  glibc-langpack-en
66f803
BuildRequires:  glibc-langpack-is
66f803
%endif
66f803
# endif use_glibc_langpacks
66f803
%if 0%{?fedora} && 0%{?fedora} < 30
66f803
BuildRequires:  gnupg
66f803
%endif
66f803
# endif fedora < 30
66f803
%if 0%{?fedora} || 0%{?rhel} > 8
66f803
BuildRequires:  gnupg2-smime
66f803
%endif
66f803
# endif fedora or el > 8
66f803
%if 0%{?fedora} || 0%{?rhel} == 6 || ( 0%{?rhel} >= 7 && ( "%{_arch}" == "ppc64le" || "%{_arch}" == "x86_64" ) )
66f803
BuildRequires:  highlight
66f803
%endif
66f803
# endif fedora, el-6, or el7+ (ppc64le/x86_64)
66f803
BuildRequires:  httpd
66f803
%if 0%{?fedora} && ! ( "%{_arch}" == "i386" || "%{_arch}" == "s390x" )
66f803
BuildRequires:  jgit
66f803
%endif
66f803
# endif fedora (except i386 and s390x)
66f803
BuildRequires:  mod_dav_svn
66f803
BuildRequires:  perl(App::Prove)
66f803
BuildRequires:  perl(CGI)
66f803
BuildRequires:  perl(CGI::Carp)
66f803
BuildRequires:  perl(CGI::Util)
66f803
BuildRequires:  perl(DBD::SQLite)
66f803
BuildRequires:  perl(Digest::MD5)
66f803
BuildRequires:  perl(Fcntl)
66f803
BuildRequires:  perl(File::Basename)
66f803
BuildRequires:  perl(File::Copy)
66f803
BuildRequires:  perl(File::Find)
66f803
BuildRequires:  perl(filetest)
66f803
BuildRequires:  perl(HTTP::Date)
66f803
BuildRequires:  perl(IO::Pty)
66f803
BuildRequires:  perl(JSON)
66f803
BuildRequires:  perl(JSON::PP)
66f803
BuildRequires:  perl(Mail::Address)
66f803
BuildRequires:  perl(Memoize)
66f803
BuildRequires:  perl(POSIX)
66f803
BuildRequires:  perl(Term::ReadLine)
66f803
BuildRequires:  perl(Test::More)
66f803
BuildRequires:  perl(Time::HiRes)
66f803
%if %{with python2}
66f803
BuildRequires:  python2-devel
66f803
%endif
66f803
# endif with python2
66f803
%if %{with python3}
66f803
BuildRequires:  python3-devel
66f803
%endif
66f803
# endif with python3
66f803
BuildRequires:  subversion
66f803
BuildRequires:  subversion-perl
66f803
BuildRequires:  tar
66f803
BuildRequires:  time
66f803
BuildRequires:  zip
66f803
%endif
66f803
# endif with tests
66f803
66f803
Requires:       git-core = %{version}-%{release}
66f803
Requires:       git-core-doc = %{version}-%{release}
66f803
%if ! %{defined perl_bootstrap}
66f803
Requires:       perl(Term::ReadKey)
66f803
%endif
66f803
# endif ! defined perl_bootstrap
66f803
Requires:       perl-Git = %{version}-%{release}
66f803
66f803
%if %{with emacs} && %{emacs_filesystem} && %{defined _emacs_version}
66f803
Requires:       emacs-filesystem >= %{_emacs_version}
66f803
%endif
66f803
# endif with emacs && emacs_filesystem
66f803
66f803
# Obsolete emacs-git if it's disabled
66f803
%if %{without emacs}
66f803
Obsoletes:      emacs-git < %{?epoch:%{epoch}:}%{version}-%{release}
66f803
%endif
66f803
# endif without emacs
66f803
66f803
# Obsolete git-cvs if it's disabled
66f803
%if %{without cvs}
66f803
Obsoletes:      git-cvs < %{?epoch:%{epoch}:}%{version}-%{release}
66f803
%endif
66f803
# endif without cvs
66f803
66f803
# Obsolete git-p4 if it's disabled
66f803
%if %{without p4}
66f803
Obsoletes:      git-p4 < %{?epoch:%{epoch}:}%{version}-%{release}
66f803
%endif
66f803
# endif without p4
66f803
66f803
%description
66f803
Git is a fast, scalable, distributed revision control system with an
66f803
unusually rich command set that provides both high-level operations
66f803
and full access to internals.
66f803
66f803
The git rpm installs common set of tools which are usually using with
66f803
small amount of dependencies. To install all git packages, including
66f803
tools for integrating with other SCMs, install the git-all meta-package.
66f803
66f803
%package all
66f803
Summary:        Meta-package to pull in all git tools
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
%if %{with libsecret}
66f803
Requires:       git-credential-libsecret = %{version}-%{release}
66f803
%endif
66f803
# endif with libsecret
66f803
%if %{with cvs}
66f803
Requires:       git-cvs = %{version}-%{release}
66f803
%endif
66f803
# endif with cvs
66f803
Requires:       git-daemon = %{version}-%{release}
66f803
Requires:       git-email = %{version}-%{release}
66f803
Requires:       git-gui = %{version}-%{release}
66f803
%if %{with p4}
66f803
Requires:       git-p4 = %{version}-%{release}
66f803
%endif
66f803
# endif with p4
66f803
Requires:       git-subtree = %{version}-%{release}
66f803
Requires:       git-svn = %{version}-%{release}
66f803
Requires:       git-instaweb = %{version}-%{release}
66f803
Requires:       gitk = %{version}-%{release}
66f803
Requires:       perl-Git = %{version}-%{release}
66f803
%if ! %{defined perl_bootstrap}
66f803
Requires:       perl(Term::ReadKey)
66f803
%endif
66f803
# endif ! defined perl_bootstrap
66f803
%if %{with emacs} && ! %{emacs_filesystem}
66f803
Requires:       emacs-git = %{version}-%{release}
66f803
%endif
66f803
# endif with emacs && ! emacs_filesystem
66f803
%description all
66f803
Git is a fast, scalable, distributed revision control system with an
66f803
unusually rich command set that provides both high-level operations
66f803
and full access to internals.
66f803
66f803
This is a dummy package which brings in all subpackages.
66f803
66f803
%package core
66f803
Summary:        Core package of git with minimal functionality
66f803
Requires:       less
66f803
Requires:       openssh-clients
66f803
Requires:       zlib >= 1.2
66f803
%description core
66f803
Git is a fast, scalable, distributed revision control system with an
66f803
unusually rich command set that provides both high-level operations
66f803
and full access to internals.
66f803
66f803
The git-core rpm installs really the core tools with minimal
66f803
dependencies. Install git package for common set of tools.
66f803
To install all git packages, including tools for integrating with
66f803
other SCMs, install the git-all meta-package.
66f803
66f803
%package core-doc
66f803
Summary:        Documentation files for git-core
66f803
BuildArch:      noarch
66f803
Requires:       git-core = %{version}-%{release}
66f803
%description core-doc
66f803
Documentation files for git-core package including man pages.
66f803
66f803
%if %{with libsecret}
66f803
%package credential-libsecret
66f803
Summary:        Git helper for accessing credentials via libsecret
66f803
BuildRequires:  libsecret-devel
66f803
Requires:       git = %{version}-%{release}
66f803
%description credential-libsecret
66f803
%{summary}.
66f803
%endif
66f803
# endif with libsecret
66f803
66f803
%if %{with cvs}
66f803
%package cvs
66f803
Summary:        Git tools for importing CVS repositories
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       cvs
66f803
Requires:       cvsps
66f803
Requires:       perl(DBD::SQLite)
66f803
%description cvs
66f803
%{summary}.
66f803
%endif
66f803
# endif with cvs
66f803
66f803
%package daemon
66f803
Summary:        Git protocol daemon
66f803
Requires:       git-core = %{version}-%{release}
66f803
%if %{use_systemd}
66f803
Requires:       systemd
66f803
Requires(post): systemd
66f803
Requires(preun):  systemd
66f803
Requires(postun): systemd
66f803
%else
66f803
Requires:       xinetd
66f803
%endif
66f803
# endif use_systemd
66f803
%description daemon
66f803
The git daemon for supporting git:// access to git repositories
66f803
66f803
%package email
66f803
Summary:        Git tools for sending patches via email
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       perl(Authen::SASL)
66f803
Requires:       perl(Net::SMTP::SSL)
66f803
%description email
66f803
%{summary}.
66f803
66f803
%if %{with emacs} && ! %{emacs_filesystem}
66f803
%package -n emacs-git
66f803
Summary:        Git version control system support for Emacs
66f803
Requires:       git = %{version}-%{release}
66f803
BuildArch:      noarch
66f803
Requires:       emacs(bin) >= %{_emacs_version}
66f803
Obsoletes:      emacs-git-el < 2.18.0-0.0
66f803
Provides:       emacs-git-el = %{version}-%{release}
66f803
%description -n emacs-git
66f803
%{summary}.
66f803
%endif
66f803
# endif with emacs && ! emacs_filesystem
66f803
66f803
%package -n gitk
66f803
Summary:        Git repository browser
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       git-gui = %{version}-%{release}
66f803
Requires:       tk >= 8.4
66f803
%description -n gitk
66f803
%{summary}.
66f803
66f803
%package -n gitweb
66f803
Summary:        Simple web interface to git repositories
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
%description -n gitweb
66f803
%{summary}.
66f803
66f803
%package gui
66f803
Summary:        Graphical interface to Git
66f803
BuildArch:      noarch
66f803
Requires:       gitk = %{version}-%{release}
66f803
Requires:       tk >= 8.4
66f803
%description gui
66f803
%{summary}.
66f803
66f803
%package instaweb
66f803
Summary:        Repository browser in gitweb
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       gitweb = %{version}-%{release}
66f803
%if 0%{?rhel} >= 9
66f803
Requires:       httpd
66f803
%else
66f803
Requires:       lighttpd
66f803
%endif
66f803
66f803
%description instaweb
66f803
A simple script to set up gitweb and a web server for browsing the local
66f803
repository.
66f803
66f803
%if %{with p4}
66f803
%package p4
66f803
Summary:        Git tools for working with Perforce depots
66f803
BuildArch:      noarch
66f803
BuildRequires:  python2-devel
66f803
Requires:       git = %{version}-%{release}
66f803
%description p4
66f803
%{summary}.
66f803
%endif
66f803
# endif with p4
66f803
66f803
%package -n perl-Git
66f803
Summary:        Perl interface to Git
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
66f803
%description -n perl-Git
66f803
%{summary}.
66f803
66f803
%package -n perl-Git-SVN
66f803
Summary:        Perl interface to Git::SVN
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
66f803
%description -n perl-Git-SVN
66f803
%{summary}.
66f803
66f803
%package subtree
66f803
Summary:        Git tools to merge and split repositories
66f803
Requires:       git-core = %{version}-%{release}
66f803
%description subtree
66f803
Git subtrees allow subprojects to be included within a subdirectory
66f803
of the main project, optionally including the subproject's entire
66f803
history.
66f803
66f803
%package svn
66f803
Summary:        Git tools for interacting with Subversion repositories
66f803
BuildArch:      noarch
66f803
Requires:       git = %{version}-%{release}
66f803
Requires:       perl(Digest::MD5)
66f803
%if ! %{defined perl_bootstrap}
66f803
Requires:       perl(Term::ReadKey)
66f803
%endif
66f803
# endif ! defined perl_bootstrap
66f803
Requires:       subversion
66f803
%description svn
66f803
%{summary}.
66f803
66f803
%prep
66f803
# Verify GPG signatures
66f803
xz -dc '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
66f803
66f803
%autosetup -p1 -n %{name}-%{version}%{?rcrev}
66f803
66f803
# Install print-failed-test-output script
66f803
install -p -m 755 %{SOURCE99} print-failed-test-output
66f803
66f803
# Remove git-archimport from command list
66f803
sed -i '/^git-archimport/d' command-list.txt
66f803
66f803
%if %{without cvs}
66f803
# Remove git-cvs* from command list
66f803
sed -i '/^git-cvs/d' command-list.txt
66f803
%endif
66f803
# endif without cvs
66f803
66f803
%if %{without p4}
66f803
# Remove git-p4 from command list
66f803
sed -i '/^git-p4/d' command-list.txt
66f803
%endif
66f803
# endif without p4
66f803
66f803
# Use these same options for every invocation of 'make'.
66f803
# Otherwise it will rebuild in %%install due to flags changes.
66f803
# Pipe to tee to aid confirmation/verification of settings.
66f803
cat << \EOF | tee config.mak
66f803
V = 1
66f803
CFLAGS = %{build_cflags}
66f803
LDFLAGS = %{build_ldflags}
66f803
NEEDS_CRYPTO_WITH_SSL = 1
66f803
USE_LIBPCRE = 1
66f803
ETC_GITCONFIG = %{_sysconfdir}/gitconfig
66f803
INSTALL_SYMLINKS = 1
66f803
GITWEB_PROJECTROOT = %{_localstatedir}/lib/git
66f803
GNU_ROFF = 1
66f803
NO_PERL_CPAN_FALLBACKS = 1
66f803
%if %{with python2}
66f803
PYTHON_PATH = %{__python2}
66f803
%else
66f803
NO_PYTHON = 1
66f803
%endif
66f803
# endif with python2
66f803
%if %{with asciidoctor}
66f803
USE_ASCIIDOCTOR = 1
66f803
%endif
66f803
# endif with asciidoctor
66f803
htmldir = %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
66f803
prefix = %{_prefix}
66f803
perllibdir = %{perl_vendorlib}
66f803
gitwebdir = %{_localstatedir}/www/git
66f803
66f803
# Test options
66f803
DEFAULT_TEST_TARGET = prove
66f803
GIT_PROVE_OPTS = --verbose --normalize %{?_smp_mflags} --formatter=TAP::Formatter::File
66f803
GIT_TEST_OPTS = -x --verbose-log
66f803
EOF
66f803
66f803
# Filter bogus perl requires
66f803
# packed-refs comes from a comment in contrib/hooks/update-paranoid
66f803
%if %{use_new_rpm_filters}
66f803
%{?perl_default_filter}
66f803
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(packed-refs\\)
66f803
%if ! %{defined perl_bootstrap}
66f803
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Term::ReadKey\\)
66f803
%endif
66f803
# endif ! defined perl_bootstrap
66f803
%else
66f803
cat << \EOF > %{name}-req
66f803
#!/bin/sh
66f803
%{__perl_requires} $* |\
66f803
sed -e '/perl(packed-refs)/d'
66f803
EOF
66f803
66f803
%global __perl_requires %{_builddir}/%{name}-%{version}%{?rcrev}/%{name}-req
66f803
chmod +x %{__perl_requires}
66f803
%endif
66f803
# endif use_new_rpm_filters
66f803
66f803
# Remove Git::LoadCPAN to ensure we use only system perl modules.  This also
66f803
# allows the dependencies to be automatically processed by rpm.
66f803
rm -rf perl/Git/LoadCPAN{.pm,/}
66f803
grep -rlZ '^use Git::LoadCPAN::' | xargs -r0 sed -i 's/Git::LoadCPAN:://g'
66f803
66f803
# Update gitweb default home link string
66f803
sed -i 's@"++GITWEB_HOME_LINK_STR++"@$ENV{"SERVER_NAME"} ? "git://" . $ENV{"SERVER_NAME"} : "projects"@' \
66f803
    gitweb/gitweb.perl
66f803
66f803
# Move contrib/{contacts,subtree} docs to Documentation so they build with the
66f803
# proper asciidoc/docbook/xmlto options
66f803
mv contrib/{contacts,subtree}/git-*.txt Documentation/
66f803
66f803
%build
66f803
# Improve build reproducibility
66f803
export TZ=UTC
66f803
export SOURCE_DATE_EPOCH=$(date -r version +%%s 2>/dev/null)
66f803
66f803
%make_build all %{?with_docs:doc}
66f803
66f803
%make_build -C contrib/contacts/ all
66f803
66f803
%if %{with libsecret}
66f803
%make_build -C contrib/credential/libsecret/
66f803
%endif
66f803
# endif with libsecret
66f803
66f803
%make_build -C contrib/credential/netrc/
66f803
66f803
%make_build -C contrib/diff-highlight/
66f803
66f803
%make_build -C contrib/subtree/ all
66f803
66f803
# Fix shebang in a few places to silence rpmlint complaints
66f803
%if %{with python2}
66f803
sed -i -e '1s@#! */usr/bin/env python$@#!%{__python2}@' \
66f803
    contrib/fast-import/import-zips.py \
66f803
    contrib/hooks/multimail/git_multimail.py \
66f803
    contrib/hooks/multimail/migrate-mailhook-config \
66f803
    contrib/hooks/multimail/post-receive.example
66f803
%else
66f803
# Remove contrib/fast-import/import-zips.py which requires python2.
66f803
rm -rf contrib/fast-import/import-zips.py
66f803
%endif
66f803
# endif with python2
66f803
66f803
# The multimail hook is installed with git.  Use python3 to avoid an
66f803
# unnecessary python2 dependency, if possible.  Also fix contrib/hg-to-git
66f803
# while here.
66f803
%if %{with python3}
66f803
sed -i -e '1s@#!\( */usr/bin/env python\|%{__python2}\)$@#!%{__python3}@' \
66f803
    contrib/hg-to-git/hg-to-git.py \
66f803
    contrib/hooks/multimail/git_multimail.py \
66f803
    contrib/hooks/multimail/migrate-mailhook-config \
66f803
    contrib/hooks/multimail/post-receive.example
66f803
%endif
66f803
# endif with python3
66f803
66f803
%install
66f803
%make_install %{?with_docs:install-doc}
66f803
66f803
%make_install -C contrib/contacts
66f803
66f803
%if %{with emacs}
66f803
%global elispdir %{_emacs_sitelispdir}/git
66f803
pushd contrib/emacs >/dev/null
66f803
for el in *.el ; do
66f803
    # Note: No byte-compiling is done.  These .el files are one-line stubs
66f803
    # which only serve to point users to better alternatives.
66f803
    install -Dpm 644 $el %{buildroot}%{elispdir}/$el
66f803
    rm -f $el # clean up to avoid cruft in git-core-doc
66f803
done
66f803
popd >/dev/null
66f803
%endif
66f803
# endif with emacs
66f803
66f803
%if %{with libsecret}
66f803
install -pm 755 contrib/credential/libsecret/git-credential-libsecret \
66f803
    %{buildroot}%{gitexecdir}
66f803
%endif
66f803
# endif with libsecret
66f803
install -pm 755 contrib/credential/netrc/git-credential-netrc \
66f803
    %{buildroot}%{gitexecdir}
66f803
# temporarily move contrib/credential/netrc aside to prevent it from being
66f803
# deleted in the docs preparation, so the tests can be run in %%check
66f803
mv contrib/credential/netrc .
66f803
66f803
%make_install -C contrib/subtree
66f803
66f803
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
66f803
install -pm 0644 %{SOURCE13} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{gitweb_httpd_conf}
66f803
sed "s|@PROJECTROOT@|%{_localstatedir}/lib/git|g" \
66f803
    %{SOURCE14} > %{buildroot}%{_sysconfdir}/gitweb.conf
66f803
66f803
# install contrib/diff-highlight and clean up to avoid cruft in git-core-doc
66f803
install -Dpm 0755 contrib/diff-highlight/diff-highlight \
66f803
    %{buildroot}%{_datadir}/git-core/contrib/diff-highlight
66f803
rm -rf contrib/diff-highlight/{Makefile,diff-highlight,*.perl,t}
66f803
66f803
# Clean up contrib/subtree to avoid cruft in the git-core-doc docdir
66f803
rm -rf contrib/subtree/{INSTALL,Makefile,git-subtree*,t}
66f803
66f803
# git-archimport is not supported
66f803
find %{buildroot} Documentation -type f -name 'git-archimport*' -exec rm -f {} ';'
66f803
66f803
%if %{without cvs}
66f803
# Remove git-cvs* and gitcvs*
66f803
find %{buildroot} Documentation \( -type f -o -type l \) \
66f803
    \( -name 'git-cvs*' -o -name 'gitcvs*' \) -exec rm -f {} ';'
66f803
%endif
66f803
# endif without cvs
66f803
66f803
%if %{without p4}
66f803
# Remove git-p4* and mergetools/p4merge
66f803
find %{buildroot} Documentation -type f -name 'git-p4*' -exec rm -f {} ';'
66f803
rm -f %{buildroot}%{gitexecdir}/mergetools/p4merge
66f803
%endif
66f803
# endif without p4
66f803
66f803
# Remove unneeded git-remote-testsvn so git-svn can be noarch
66f803
rm -f %{buildroot}%{gitexecdir}/git-remote-testsvn
66f803
66f803
exclude_re="archimport|email|git-(citool|credential-libsecret|cvs|daemon|gui|instaweb|p4|subtree|svn)|gitk|gitweb|p4merge"
66f803
(find %{buildroot}{%{_bindir},%{_libexecdir}} -type f -o -type l | grep -vE "$exclude_re" | sed -e s@^%{buildroot}@@) > bin-man-doc-files
66f803
(find %{buildroot}{%{_bindir},%{_libexecdir}} -mindepth 1 -type d | grep -vE "$exclude_re" | sed -e 's@^%{buildroot}@%dir @') >> bin-man-doc-files
66f803
(find %{buildroot}%{perl_vendorlib} -type f | sed -e s@^%{buildroot}@@) > perl-git-files
66f803
(find %{buildroot}%{perl_vendorlib} -mindepth 1 -type d | sed -e 's@^%{buildroot}@%dir @') >> perl-git-files
66f803
# Split out Git::SVN files
66f803
grep Git/SVN perl-git-files > perl-git-svn-files
66f803
sed -i "/Git\/SVN/ d" perl-git-files
66f803
%if %{with docs}
66f803
(find %{buildroot}%{_mandir} -type f | grep -vE "$exclude_re|Git" | sed -e s@^%{buildroot}@@ -e 's/$/*/' ) >> bin-man-doc-files
66f803
%else
66f803
rm -rf %{buildroot}%{_mandir}
66f803
%endif
66f803
# endif with docs
66f803
66f803
mkdir -p %{buildroot}%{_localstatedir}/lib/git
66f803
%if %{use_systemd}
66f803
install -Dp -m 0644 %{SOURCE16} %{buildroot}%{_unitdir}/git.socket
66f803
perl -p \
66f803
    -e "s|\@GITEXECDIR\@|%{gitexecdir}|g;" \
66f803
    -e "s|\@BASE_PATH\@|%{_localstatedir}/lib/git|g;" \
66f803
    %{SOURCE15} > %{buildroot}%{_unitdir}/git@.service
66f803
%else
66f803
mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d
66f803
perl -p \
66f803
    -e "s|\@GITEXECDIR\@|%{gitexecdir}|g;" \
66f803
    -e "s|\@BASE_PATH\@|%{_localstatedir}/lib/git|g;" \
66f803
    %{SOURCE11} > %{buildroot}%{_sysconfdir}/xinetd.d/git
66f803
%endif
66f803
# endif use_systemd
66f803
66f803
# Setup bash completion
66f803
install -Dpm 644 contrib/completion/git-completion.bash %{buildroot}%{bashcompdir}/git
66f803
ln -s git %{buildroot}%{bashcompdir}/gitk
66f803
66f803
# Install tcsh completion
66f803
mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
66f803
install -pm 644 contrib/completion/git-completion.tcsh \
66f803
    %{buildroot}%{_datadir}/git-core/contrib/completion/
66f803
66f803
# Drop .py extension from git_multimail to avoid byte-compiling
66f803
mv contrib/hooks/multimail/git_multimail{.py,}
66f803
66f803
# Move contrib/hooks out of %%docdir
66f803
mkdir -p %{buildroot}%{_datadir}/git-core/contrib
66f803
mv contrib/hooks %{buildroot}%{_datadir}/git-core/contrib
66f803
pushd contrib > /dev/null
66f803
ln -s ../../../git-core/contrib/hooks
66f803
popd > /dev/null
66f803
66f803
# Install git-prompt.sh
66f803
mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
66f803
install -pm 644 contrib/completion/git-prompt.sh \
66f803
    %{buildroot}%{_datadir}/git-core/contrib/completion/
66f803
66f803
# install git-gui .desktop file
66f803
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE12}
66f803
66f803
# symlink git-citool to git-gui if they are identical
66f803
pushd %{buildroot}%{gitexecdir} >/dev/null
66f803
if cmp -s git-gui git-citool 2>/dev/null; then
66f803
    ln -svf git-gui git-citool
66f803
fi
66f803
popd >/dev/null
66f803
66f803
# find translations
66f803
%find_lang %{name} %{name}.lang
66f803
cat %{name}.lang >> bin-man-doc-files
66f803
66f803
# quiet some rpmlint complaints
66f803
chmod -R g-w %{buildroot}
66f803
chmod a-x %{buildroot}%{gitexecdir}/git-mergetool--lib
66f803
# These files probably are not needed
66f803
find . -regex '.*/\.\(git\(attributes\|ignore\)\|perlcriticrc\)' -delete
66f803
chmod a-x Documentation/technical/api-index.sh
66f803
find contrib -type f -print0 | xargs -r0 chmod -x
66f803
66f803
# Split core files
66f803
not_core_re="git-(add--interactive|contacts|credential-netrc|filter-branch|instaweb|request-pull|send-mail)|gitweb"
66f803
grep -vE "$not_core_re|%{_mandir}" bin-man-doc-files > bin-files-core
66f803
touch man-doc-files-core
66f803
%if %{with docs}
66f803
grep -vE "$not_core_re" bin-man-doc-files | grep "%{_mandir}" > man-doc-files-core
66f803
%endif
66f803
# endif with docs
66f803
grep -E  "$not_core_re" bin-man-doc-files > bin-man-doc-git-files
66f803
66f803
##### DOC
66f803
# place doc files into %%{_pkgdocdir} and split them into expected packages
66f803
# contrib
66f803
not_core_doc_re="(git-(cvs|gui|citool|daemon|instaweb|subtree))|p4|svn|email|gitk|gitweb"
66f803
mkdir -p %{buildroot}%{_pkgdocdir}/
66f803
cp -pr CODE_OF_CONDUCT.md README.md Documentation/*.txt Documentation/RelNotes contrib %{buildroot}%{_pkgdocdir}/
66f803
# Remove contrib/ files/dirs which have nothing useful for documentation
66f803
rm -rf %{buildroot}%{_pkgdocdir}/contrib/{contacts,credential}/
66f803
cp -p gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
66f803
cp -p gitweb/README %{buildroot}%{_pkgdocdir}/README.gitweb
66f803
66f803
%if %{with docs}
66f803
cp -pr Documentation/*.html Documentation/docbook-xsl.css %{buildroot}%{_pkgdocdir}/
66f803
cp -pr Documentation/{howto,technical} %{buildroot}%{_pkgdocdir}/
66f803
find %{buildroot}%{_pkgdocdir}/{howto,technical} -type f \
66f803
    |grep -o "%{_pkgdocdir}.*$" >> man-doc-files-core
66f803
%endif
66f803
# endif with docs
66f803
66f803
{
66f803
    find %{buildroot}%{_pkgdocdir} -type f -maxdepth 1 \
66f803
        | grep -o "%{_pkgdocdir}.*$" \
66f803
        | grep -vE "$not_core_doc_re"
66f803
    find %{buildroot}%{_pkgdocdir}/{contrib,RelNotes} -type f \
66f803
        | grep -o "%{_pkgdocdir}.*$"
66f803
    find %{buildroot}%{_pkgdocdir} -type d | grep -o "%{_pkgdocdir}.*$" \
66f803
        | sed "s/^/\%dir /"
66f803
} >> man-doc-files-core
66f803
##### #DOC
66f803
66f803
%check
66f803
%if %{without tests}
66f803
echo "*** Skipping tests"
66f803
exit 0
66f803
%endif
66f803
# endif without tests
66f803
66f803
%if %{with docs} && %{with linkcheck}
66f803
# Test links in HTML documentation
66f803
find %{buildroot}%{_pkgdocdir} -name "*.html" -print0 | xargs -r0 linkchecker
66f803
%endif
66f803
# endif with docs && with linkcheck
66f803
66f803
# Tests to skip on all releases and architectures
66f803
GIT_SKIP_TESTS=""
66f803
66f803
%ifarch aarch64 %{arm} %{power64}
66f803
# Skip tests which fail on aarch64, arm, and ppc
66f803
#
66f803
# The following 2 tests use run_with_limited_cmdline, which calls ulimit -s 128
66f803
# to limit the maximum stack size.
66f803
# t5541.35 'push 2000 tags over http'
66f803
# t5551.25 'clone the 2,000 tag repo to check OS command line overflow'
66f803
GIT_SKIP_TESTS="$GIT_SKIP_TESTS t5541.35 t5551.25"
66f803
%endif
66f803
# endif aarch64 %%{arm} %%{power64}
66f803
66f803
%ifarch %{power64}
66f803
# Skip tests which fail on ppc
66f803
#
66f803
# t9115-git-svn-dcommit-funky-renames is disabled because it frequently fails.
66f803
# The port it uses (9115) is already in use.  It is unclear if this is
66f803
# due to an issue in the test suite or a conflict with some other process on
66f803
# the build host.  It only appears to occur on ppc-arches.
66f803
GIT_SKIP_TESTS="$GIT_SKIP_TESTS t9115"
66f803
%endif
66f803
# endif %%{power64}
66f803
66f803
export GIT_SKIP_TESTS
66f803
66f803
# Set LANG so various UTF-8 tests are run
66f803
export LANG=en_US.UTF-8
66f803
66f803
# Explicitly enable tests which may be skipped opportunistically
66f803
# (Check for variables set via test_tristate in the test suite)
66f803
export GIT_SVN_TEST_HTTPD=true
66f803
export GIT_TEST_GIT_DAEMON=true
66f803
export GIT_TEST_HTTPD=true
66f803
export GIT_TEST_SVNSERVE=true
66f803
66f803
# Create tmpdir for test output and update GIT_TEST_OPTS
66f803
# Also update GIT-BUILD-OPTIONS to keep make from any needless rebuilding
66f803
testdir=$(mktemp -d -p /tmp git-t.XXXX)
66f803
sed -i "s@^GIT_TEST_OPTS = .*@& --root=$testdir@" config.mak
66f803
touch -r GIT-BUILD-OPTIONS ts
66f803
sed -i "s@\(GIT_TEST_OPTS='.*\)'@\1 --root=$testdir'@" GIT-BUILD-OPTIONS
66f803
touch -r ts GIT-BUILD-OPTIONS
66f803
66f803
# Run the tests
66f803
%__make test || ./print-failed-test-output
66f803
66f803
# Run contrib/credential/netrc tests
66f803
mkdir -p contrib/credential
66f803
mv netrc contrib/credential/
66f803
%make_build -C contrib/credential/netrc/ test || \
66f803
%make_build -C contrib/credential/netrc/ testverbose
66f803
66f803
# Clean up test dir
66f803
rmdir --ignore-fail-on-non-empty "$testdir"
66f803
66f803
%if %{use_systemd}
66f803
%post daemon
66f803
%systemd_post git.socket
66f803
66f803
%preun daemon
66f803
%systemd_preun git.socket
66f803
66f803
%postun daemon
66f803
%systemd_postun_with_restart git.socket
66f803
%endif
66f803
# endif use_systemd
66f803
66f803
%files -f bin-man-doc-git-files
66f803
%if %{with emacs} && %{emacs_filesystem}
66f803
%{elispdir}
66f803
%endif
66f803
# endif with emacs && emacs_filesystem
66f803
%{_datadir}/git-core/contrib/diff-highlight
66f803
%{_datadir}/git-core/contrib/hooks/multimail
66f803
%{_datadir}/git-core/contrib/hooks/update-paranoid
66f803
%{_datadir}/git-core/contrib/hooks/setgitperms.perl
66f803
%{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
66f803
%{_datadir}/git-core/templates/hooks/pre-rebase.sample
66f803
%{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
66f803
66f803
%files all
66f803
# No files for you!
66f803
66f803
%files core -f bin-files-core
66f803
#NOTE: this is only use of the %%doc macro in this spec file and should not
66f803
#      be used elsewhere
66f803
%{!?_licensedir:%global license %doc}
66f803
%license COPYING
66f803
# exclude is best way here because of troubles with symlinks inside git-core/
66f803
%exclude %{_datadir}/git-core/contrib/diff-highlight
66f803
%exclude %{_datadir}/git-core/contrib/hooks/multimail
66f803
%exclude %{_datadir}/git-core/contrib/hooks/update-paranoid
66f803
%exclude %{_datadir}/git-core/contrib/hooks/setgitperms.perl
66f803
%exclude %{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
66f803
%exclude %{_datadir}/git-core/templates/hooks/pre-rebase.sample
66f803
%exclude %{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
66f803
%{bashcomproot}
66f803
%{_datadir}/git-core/
66f803
66f803
%files core-doc -f man-doc-files-core
66f803
%if 0%{?rhel} && 0%{?rhel} <= 7
66f803
# .py files are only bytecompiled on EL <= 7
66f803
%exclude %{_pkgdocdir}/contrib/*/*.py[co]
66f803
%endif
66f803
# endif rhel <= 7
66f803
%{_pkgdocdir}/contrib/hooks
66f803
66f803
%if %{with libsecret}
66f803
%files credential-libsecret
66f803
%defattr(-,root,root)
66f803
%{gitexecdir}/git-credential-libsecret
66f803
%endif
66f803
# endif with libsecret
66f803
66f803
%if %{with cvs}
66f803
%files cvs
66f803
%{_pkgdocdir}/*git-cvs*.txt
66f803
%{_bindir}/git-cvsserver
66f803
%{gitexecdir}/*cvs*
66f803
%{?with_docs:%{_mandir}/man1/*cvs*.1*}
66f803
%{?with_docs:%{_pkgdocdir}/*git-cvs*.html}
66f803
%endif
66f803
# endif with cvs
66f803
66f803
%files daemon
66f803
%{_pkgdocdir}/git-daemon*.txt
66f803
%if %{use_systemd}
66f803
%{_unitdir}/git.socket
66f803
%{_unitdir}/git@.service
66f803
%else
66f803
%config(noreplace)%{_sysconfdir}/xinetd.d/git
66f803
%endif
66f803
# endif use_systemd
66f803
%{gitexecdir}/git-daemon
66f803
%{_localstatedir}/lib/git
66f803
%{?with_docs:%{_mandir}/man1/git-daemon*.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-daemon*.html}
66f803
66f803
%if %{with emacs} && ! %{emacs_filesystem}
66f803
%files -n emacs-git
66f803
%{_pkgdocdir}/contrib/emacs/README
66f803
%{elispdir}
66f803
%endif
66f803
# endif with emacs && ! emacs_filesystem
66f803
66f803
%files email
66f803
%{_pkgdocdir}/*email*.txt
66f803
%{gitexecdir}/*email*
66f803
%{?with_docs:%{_mandir}/man1/*email*.1*}
66f803
%{?with_docs:%{_pkgdocdir}/*email*.html}
66f803
66f803
%files -n gitk
66f803
%{_pkgdocdir}/*gitk*.txt
66f803
%{_bindir}/*gitk*
66f803
%{_datadir}/gitk
66f803
%{?with_docs:%{_mandir}/man1/*gitk*.1*}
66f803
%{?with_docs:%{_pkgdocdir}/*gitk*.html}
66f803
66f803
%files -n gitweb
66f803
%{_pkgdocdir}/*.gitweb
66f803
%{_pkgdocdir}/gitweb*.txt
66f803
%{?with_docs:%{_mandir}/man1/gitweb.1*}
66f803
%{?with_docs:%{_mandir}/man5/gitweb.conf.5*}
66f803
%{?with_docs:%{_pkgdocdir}/gitweb*.html}
66f803
%config(noreplace)%{_sysconfdir}/gitweb.conf
66f803
%config(noreplace)%{_sysconfdir}/httpd/conf.d/%{gitweb_httpd_conf}
66f803
%{_localstatedir}/www/git/
66f803
66f803
%files gui
66f803
%{gitexecdir}/git-gui*
66f803
%{gitexecdir}/git-citool
66f803
%{_datadir}/applications/*git-gui.desktop
66f803
%{_datadir}/git-gui/
66f803
%{_pkgdocdir}/git-gui.txt
66f803
%{_pkgdocdir}/git-citool.txt
66f803
%{?with_docs:%{_mandir}/man1/git-gui.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-gui.html}
66f803
%{?with_docs:%{_mandir}/man1/git-citool.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-citool.html}
66f803
66f803
%files instaweb
66f803
%defattr(-,root,root)
66f803
%{gitexecdir}/git-instaweb
66f803
%{_pkgdocdir}/git-instaweb.txt
66f803
%{?with_docs:%{_mandir}/man1/git-instaweb.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-instaweb.html}
66f803
66f803
%if %{with p4}
66f803
%files p4
66f803
%{gitexecdir}/*p4*
66f803
%{gitexecdir}/mergetools/p4merge
66f803
%{_pkgdocdir}/*p4*.txt
66f803
%{?with_docs:%{_mandir}/man1/*p4*.1*}
66f803
%{?with_docs:%{_pkgdocdir}/*p4*.html}
66f803
%endif
66f803
# endif with p4
66f803
66f803
%files -n perl-Git -f perl-git-files
66f803
%{?with_docs:%{_mandir}/man3/Git.3pm*}
66f803
66f803
%files -n perl-Git-SVN -f perl-git-svn-files
66f803
66f803
%files subtree
66f803
%{gitexecdir}/git-subtree
66f803
%{_pkgdocdir}/git-subtree.txt
66f803
%{?with_docs:%{_mandir}/man1/git-subtree.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-subtree.html}
66f803
66f803
%files svn
66f803
%{gitexecdir}/git-svn
66f803
%{_pkgdocdir}/git-svn.txt
66f803
%{?with_docs:%{_mandir}/man1/git-svn.1*}
66f803
%{?with_docs:%{_pkgdocdir}/git-svn.html}
66f803
66f803
%changelog
66f803
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.31.1-2.2
66f803
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
66f803
  Related: rhbz#1991688
66f803
66f803
* Tue Jun 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.31.1-2.1
66f803
- Rebuilt for RHEL 9 BETA for openssl 3.0
66f803
66f803
Related: rhbz#1971065
66f803
66f803
* Mon May 03 2021 Ondřej Pohořelský <opohorel@redhat.com> - 2.31.1-2
66f803
- Use HMAC from libcrypto instead of git's implementation 
66f803
- Resolves: #1956345
66f803
66f803
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.31.1-1.1
66f803
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
66f803
66f803
* Sat Mar 27 2021 Todd Zullinger <tmz@pobox.com> - 2.31.1-1
66f803
- update to 2.31.1
66f803
66f803
* Fri Mar 19 2021 Todd Zullinger <tmz@pobox.com> - 2.31.0-2
66f803
- fix git bisect with annotaged tags
66f803
66f803
* Mon Mar 15 2021 Todd Zullinger <tmz@pobox.com> - 2.31.0-1
66f803
- update to 2.31.0
66f803
66f803
* Tue Mar 09 2021 Todd Zullinger <tmz@pobox.com> - 2.30.2-1
66f803
- update to 2.30.2 (CVE-2021-21300)
66f803
66f803
* Tue Mar 02 2021 Todd Zullinger <tmz@pobox.com> - 2.30.1-3
66f803
- use %%{gpgverify} macro to verify tarball signature
66f803
66f803
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.30.1-2.1
66f803
- Rebuilt for updated systemd-rpm-macros
66f803
  See https://pagure.io/fesco/issue/2583.
66f803
66f803
* Thu Feb 18 2021 Ondřej Pohořelský 
66f803
- include git-daemon in git-all meta-package
66f803
66f803
* Thu Feb 18 2021 Todd Zullinger <tmz@pobox.com>
66f803
- re-enable t7812-grep-icase-non-ascii on s390x
66f803
66f803
* Tue Feb 09 2021 Todd Zullinger <tmz@pobox.com> - 2.30.1-1
66f803
- update to 2.30.1
66f803
66f803
* Mon Feb 08 2021 Ondřej Pohořelský <opohorel@redhat.com> - 2.30.0-2
66f803
- add rhel 9 conditional to require httpd instead of lighttpd in git-instaweb
66f803
66f803
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.30.0-1.1
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
66f803
66f803
* Mon Dec 28 2020 Todd Zullinger <tmz@pobox.com> - 2.30.0-1
66f803
- update to 2.30.0
66f803
66f803
* Wed Dec 23 2020 Todd Zullinger <tmz@pobox.com> - 2.30.0-0.2.rc2
66f803
- update to 2.30.0-rc2
66f803
66f803
* Sat Dec 19 2020 Todd Zullinger <tmz@pobox.com> - 2.30.0-0.1.rc1
66f803
- update to 2.30.0-rc1
66f803
66f803
* Mon Dec 14 2020 Todd Zullinger <tmz@pobox.com> - 2.30.0-0.0.rc0
66f803
- update to 2.30.0-rc0
66f803
66f803
* Sun Dec 06 2020 Todd Zullinger <tmz@pobox.com> - 2.29.2-4
66f803
- move git-difftool to git-core, it does not require perl
66f803
66f803
* Wed Nov 25 2020 Todd Zullinger <tmz@pobox.com> - 2.29.2-3
66f803
- apply upstream patch to resolve git fast-import memory leak (#1900335)
66f803
- add epel-rpm-macros BuildRequires on EL-7 (#1872865)
66f803
66f803
* Sat Nov 07 2020 Todd Zullinger <tmz@pobox.com> - 2.29.2-2
66f803
- apply upstream patch to resolve git log segfault (#1791810)
66f803
66f803
* Thu Oct 29 2020 Todd Zullinger <tmz@pobox.com> - 2.29.2-1
66f803
- update to 2.29.2
66f803
66f803
* Sat Oct 24 2020 Todd Zullinger <tmz@pobox.com> - 2.29.1-1
66f803
- update to 2.29.1
66f803
- fix bugs in am/rebase handling of committer ident/date
66f803
66f803
* Mon Oct 19 2020 Todd Zullinger <tmz@pobox.com> - 2.29.0-1
66f803
- update to 2.29.0
66f803
66f803
* Thu Oct 15 2020 Todd Zullinger <tmz@pobox.com> - 2.29.0-0.2.rc2
66f803
- update to 2.29.0-rc2
66f803
66f803
* Fri Oct 09 2020 Todd Zullinger <tmz@pobox.com> - 2.29.0-0.1.rc1
66f803
- update to 2.29.0-rc1
66f803
- drop emacs-git stub for fedora >= 34 (#1882360)
66f803
- adjust python hashbang in contrib/hg-to-git, it supports python3
66f803
66f803
* Mon Oct 05 2020 Todd Zullinger <tmz@pobox.com> - 2.29.0-0.0.rc0
66f803
- update to 2.29.0-rc0
66f803
66f803
* Mon Jul 27 2020 Todd Zullinger <tmz@pobox.com> - 2.28.0-1
66f803
- update to 2.28.0
66f803
66f803
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.0-0.3.rc2
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
66f803
66f803
* Wed Jul 22 2020 Todd Zullinger <tmz@pobox.com> - 2.28.0-0.2.rc2
66f803
- update to 2.28.0-rc2
66f803
66f803
* Sat Jul 18 2020 Todd Zullinger <tmz@pobox.com> - 2.28.0-0.1.rc1
66f803
- update to 2.28.0-rc1
66f803
66f803
* Thu Jul 09 2020 Todd Zullinger <tmz@pobox.com> - 2.28.0-0.0.rc0
66f803
- update to 2.28.0-rc0
66f803
66f803
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.27.0-1.2
66f803
- Perl 5.32 re-rebuild of bootstrapped packages
66f803
66f803
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.27.0-1.1
66f803
- Perl 5.32 rebuild
66f803
66f803
* Mon Jun 01 2020 Todd Zullinger <tmz@pobox.com> - 2.27.0-1
66f803
- update to 2.27.0
66f803
66f803
* Tue May 26 2020 Todd Zullinger <tmz@pobox.com> - 2.27.0-0.2.rc2
66f803
- update to 2.27.0-rc2
66f803
66f803
* Thu May 21 2020 Todd Zullinger <tmz@pobox.com> - 2.27.0-0.1.rc1
66f803
- update to 2.27.0-rc1
66f803
66f803
* Thu May 21 2020 Merlin Mathesius <mmathesi@redhat.com> - 2.26.2-2
66f803
- Minor conditional fixes for ELN
66f803
66f803
* Mon Apr 20 2020 Todd Zullinger <tmz@pobox.com> - 2.26.2-1
66f803
- update to 2.26.2 (CVE-2020-11008)
66f803
66f803
* Tue Apr 14 2020 Todd Zullinger <tmz@pobox.com> - 2.26.1-1
66f803
- update to 2.26.1 (CVE-2020-5260)
66f803
66f803
* Sat Apr 04 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-2
66f803
- fix issue with fast-forward rebases when rebase.abbreviateCommands is set
66f803
- fix/quiet rpmlint issues from libsecret split
66f803
66f803
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 2.26.0-1.1
66f803
- Fix string quoting for rpm >= 4.16
66f803
66f803
* Sun Mar 22 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-1
66f803
- update to 2.26.0
66f803
66f803
* Mon Mar 16 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-0.3.rc2
66f803
- update to 2.26.0-rc2
66f803
66f803
* Thu Mar 12 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-0.2.rc1
66f803
- remove s390x gcc10 workaround (#1799408)
66f803
66f803
* Tue Mar 10 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-0.1.rc1
66f803
- update to 2.26.0-rc1
66f803
- adjust make test options
66f803
- add missing build deps for tests
66f803
66f803
* Fri Mar 06 2020 Todd Zullinger <tmz@pobox.com> - 2.26.0-0.0.rc0
66f803
- update to 2.26.0-rc0
66f803
66f803
* Wed Feb 26 2020 Todd Zullinger <tmz@pobox.com> - 2.25.1-4
66f803
- use Asciidoctor to build documentation when possible
66f803
66f803
* Sat Feb 22 2020 Todd Zullinger <tmz@pobox.com> - 2.25.1-3
66f803
- work around issue on s390x with gcc10 (#1799408)
66f803
66f803
* Wed Feb 19 2020 Todd Zullinger <tmz@pobox.com> - 2.25.1-2
66f803
- split libsecret credential helper into a subpackage (#1804741)
66f803
- consolidate macros for Fedora/EPEL
66f803
- remove unneeded gnome-keyring obsoletes
66f803
66f803
* Mon Feb 17 2020 Todd Zullinger <tmz@pobox.com> - 2.25.1-1
66f803
- update to 2.25.1
66f803
66f803
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.25.0-2.1
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
66f803
66f803
* Tue Jan 14 2020 Tom Stellard <tstellar@redhat.com> - 2.25.0-2
66f803
- Use make_build macro when running tests
66f803
66f803
* Tue Jan 14 2020 Todd Zullinger <tmz@pobox.com> - 2.25.0-1
66f803
- update to 2.25.0
66f803
66f803
* Thu Jan 09 2020 Todd Zullinger <tmz@pobox.com> - 2.25.0-0.2.rc2
66f803
- update to 2.25.0-rc2
66f803
66f803
* Fri Jan 03 2020 Todd Zullinger <tmz@pobox.com> - 2.25.0-0.1.rc1
66f803
- update to 2.25.0-rc1
66f803
- only add highlight test BR for ppc64le/x86_64 on EL7+
66f803
66f803
* Wed Dec 25 2019 Todd Zullinger <tmz@pobox.com> - 2.25.0-0.0.rc0
66f803
- update to 2.25.0-rc0
66f803
66f803
* Thu Dec 19 2019 Todd Zullinger <tmz@pobox.com> - 2.24.1-2
66f803
- fix git-daemon systemd scriptlets (#1785088)
66f803
66f803
* Tue Dec 10 2019 Todd Zullinger <tmz@pobox.com> - 2.24.1-1
66f803
- update to 2.24.1 (CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351,
66f803
  CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387)
66f803
66f803
* Wed Dec 04 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-2
66f803
- restore jgit BR for use in tests
66f803
66f803
* Mon Nov 04 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-1
66f803
- update to 2.24.0
66f803
66f803
* Thu Oct 31 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-0.2.rc2
66f803
- update to 2.24.0-rc2
66f803
66f803
* Sun Oct 27 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-0.1.rc1.1
66f803
- disable linkchecker on all EL releases
66f803
66f803
* Thu Oct 24 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-0.1.rc1
66f803
- update to 2.24.0-rc1
66f803
- skip failing test in t7812-grep-icase-non-ascii on s390x
66f803
- gitk: add Requires: git-gui (#1765113)
66f803
66f803
* Sat Oct 19 2019 Todd Zullinger <tmz@pobox.com> - 2.24.0-0.0.rc0
66f803
- update to 2.24.0-rc0
66f803
- fix t0500-progress-display on big-endian arches
66f803
66f803
* Fri Aug 16 2019 Todd Zullinger <tmz@pobox.com> - 2.23.0-1
66f803
- Update to 2.23.0
66f803
66f803
* Sun Aug 11 2019 Todd Zullinger <tmz@pobox.com> - 2.23.0-0.2.rc2
66f803
- Update to 2.23.0-rc2
66f803
66f803
* Fri Aug 02 2019 Todd Zullinger <tmz@pobox.com> - 2.23.0-0.1.rc1
66f803
- Update to 2.23.0-rc1
66f803
66f803
* Mon Jul 29 2019 Todd Zullinger <tmz@pobox.com> - 2.23.0-0.0.rc0
66f803
- Update to 2.23.0-rc0
66f803
66f803
* Thu Jul 25 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-2
66f803
- completion: do not cache if --git-completion-helper fails
66f803
- avoid trailing comments in spec file
66f803
- drop jgit on Fedora > 30
66f803
66f803
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.22.0-1.1
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
66f803
66f803
* Fri Jun 07 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-1
66f803
- Update to 2.22.0
66f803
66f803
* Tue Jun 04 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.22.0-0.7.rc3
66f803
- Perl 5.30 re-rebuild updated packages
66f803
66f803
* Mon Jun 03 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-0.6.rc3
66f803
- Update to 2.22.0-rc3
66f803
66f803
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.22.0-0.5.rc2
66f803
- Perl 5.30 re-rebuild of bootstrapped packages
66f803
66f803
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.22.0-0.4.rc2
66f803
- Perl 5.30 rebuild
66f803
66f803
* Thu May 30 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-0.3.rc2
66f803
- Update to 2.22.0-rc1
66f803
66f803
* Fri May 24 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-0.2.rc1
66f803
- Apply upstream fixes for diff-parseopt issues on s390x
66f803
66f803
* Sun May 19 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-0.1.rc1
66f803
- Update to 2.22.0-rc1
66f803
66f803
* Mon May 13 2019 Todd Zullinger <tmz@pobox.com> - 2.22.0-0.0.rc0
66f803
- Update to 2.22.0-rc0
66f803
- Ensure a consistent format for test output
66f803
- Improve JGIT test prereq (jgit on Fedora >= 30 is broken)
66f803
- Add perl(JSON::PP) BuildRequires for trace2 tests
66f803
66f803
* Sun Feb 24 2019 Todd Zullinger <tmz@pobox.com> - 2.21.0-1
66f803
- Update to 2.21.0
66f803
- Move gitweb manpages to gitweb package
66f803
- Link git-citool to git-gui if they are identical
66f803
66f803
* Tue Feb 19 2019 Todd Zullinger <tmz@pobox.com> - 2.21.0-0.2.rc2
66f803
- Update to 2.21.0.rc2
66f803
66f803
* Fri Feb 15 2019 Todd Zullinger <tmz@pobox.com>
66f803
- Set SOURCE_DATE_EPOCH and TZ to improve build reproducibility
66f803
66f803
* Wed Feb 13 2019 Todd Zullinger <tmz@pobox.com> - 2.21.0-0.1.rc1
66f803
- Update to 2.21.0.rc1
66f803
66f803
* Thu Feb 07 2019 Todd Zullinger <tmz@pobox.com> - 2.21.0-0.0.rc0
66f803
- Update to 2.21.0.rc0
66f803
- Remove %%changelog entries prior to 2017
66f803
66f803
* Thu Jan 31 2019 Todd Zullinger <tmz@pobox.com> - 2.20.1-2
66f803
- Remove extraneous pcre BuildRequires
66f803
- Add additional BuildRequires for i18n locales used in tests
66f803
- Replace gitweb home-link with inline sed
66f803
- Add gnupg2-smime and perl JSON BuildRequires for tests
66f803
- Work around gpg-agent issues in the test suite
66f803
- Drop gnupg BuildRequires on fedora >= 30
66f803
- Fix formatting of contrib/{contacts,subtree} docs
66f803
- Use %%{build_cflags} and %%{build_ldflags}
66f803
- Drop unneeded TEST_SHELL_PATH make variable
66f803
66f803
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.1-1.1
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
66f803
66f803
* Sat Dec 15 2018 Todd Zullinger <tmz@pobox.com> - 2.20.1-1
66f803
- Update to 2.20.1
66f803
66f803
* Sun Dec 09 2018 Todd Zullinger <tmz@pobox.com> - 2.20.0-1
66f803
- Update to 2.20.0
66f803
66f803
* Sat Dec 01 2018 Todd Zullinger <tmz@pobox.com> - 2.20.0-0.2.rc2
66f803
- Update to 2.20.0.rc2
66f803
66f803
* Wed Nov 21 2018 Todd Zullinger <tmz@pobox.com> - 2.20.0-0.1.rc1
66f803
- Update to 2.20.0.rc1
66f803
66f803
* Wed Nov 21 2018 Todd Zullinger <tmz@pobox.com> - 2.19.2-1
66f803
- Update to 2.19.2
66f803
66f803
* Tue Oct 23 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Skip test BuildRequires when --without tests is used
66f803
- Simplify gpg verification of Source0
66f803
- Use %%{without ...} macro consistently
66f803
- Add comments to %%endif statements
66f803
- Add glibc-langpack-en BuildRequires for en_US.UTF-8 locale
66f803
66f803
* Mon Oct 22 2018 Pavel Cahyna <pcahyna@redhat.com> - 2.19.1-2
66f803
- Update condition for the t5540-http-push-webdav test for future RHEL
66f803
66f803
* Fri Oct 05 2018 Todd Zullinger <tmz@pobox.com> - 2.19.1-1
66f803
- Update to 2.19.1 (CVE-2018-17456)
66f803
66f803
* Mon Sep 10 2018 Todd Zullinger <tmz@pobox.com> - 2.19.0-1
66f803
- Update to 2.19.0
66f803
66f803
* Fri Sep 07 2018 Todd Zullinger <tmz@pobox.com> - 2.19.0-0.5.rc2
66f803
- Fix smart-http test due to changes in cookie sort order in curl-7.61.1
66f803
- Add --without tests option to skip tests
66f803
66f803
* Thu Sep 06 2018 Sebastian Kisela <skisela@redhat.com> - 2.19.0-0.4.rc2
66f803
- Move instaweb to a separate subpackage
66f803
- Fix builds without docs and without cvs and/or p4
66f803
66f803
* Tue Sep 04 2018 Todd Zullinger <tmz@pobox.com> - 2.19.0-0.3.rc2
66f803
- Update to 2.19.0.rc2
66f803
- Drop unnecessary Conflicts: when git-p4 is disabled
66f803
- Obsolete git-cvs if it's disabled
66f803
- Remove contrib/fast-import/import-zips.py, contrib/hg-to-git, and
66f803
  contrib/svn-fe which all require python2
66f803
- Drop git-gnome-keyring obsolete for fedora > 30
66f803
66f803
* Tue Sep 04 2018 Nils Philippsen <nils@redhat.com> - 2.19.0-0.2.rc1
66f803
- obsolete git-p4 if it's disabled
66f803
66f803
* Tue Aug 28 2018 Todd Zullinger <tmz@pobox.com> - 2.19.0-0.1.rc1
66f803
- Update to 2.19.0.rc1
66f803
66f803
* Mon Aug 20 2018 Todd Zullinger <tmz@pobox.com> - 2.19.0-0.0.rc0
66f803
- Update to 2.19.0.rc0
66f803
66f803
* Mon Aug 20 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-2.5
66f803
- Remove git-remote-testsvn, make git-svn noarch
66f803
- Restore fixed contrib/credential/netrc tests
66f803
66f803
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.0-2.4
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
66f803
66f803
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 2.18.0-2.3
66f803
- Perl 5.28 rebuild
66f803
66f803
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.18.0-2.2
66f803
- Perl 5.28 re-rebuild of bootstrapped packages
66f803
66f803
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.18.0-2.1
66f803
- Perl 5.28 rebuild
66f803
66f803
* Mon Jun 25 2018 Pavel Cahyna <pcahyna@redhat.com> - 2.18.0-2
66f803
- Fix build --without cvs
66f803
66f803
* Wed Jun 20 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-1
66f803
- Update to 2.18.0
66f803
66f803
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.18.0-0.3.rc2
66f803
- Rebuilt for Python 3.7
66f803
66f803
* Wed Jun 13 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-0.2.rc2
66f803
- Update to 2.18.0-rc2
66f803
- Apply upstream zlib buffer handling patch (#1582555)
66f803
66f803
* Wed Jun 06 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Include git-contacts, SubmittingPatches suggests it to users
66f803
- Build git-subtree docs in %%build
66f803
66f803
* Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-0.1.rc1
66f803
- Update to 2.18.0-rc1
66f803
- Drop flaky & out-of-place netrc credential helper tests
66f803
66f803
* Fri Jun 01 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-0.0.rc0.1
66f803
- add -p: fix counting empty context lines in edited patches
66f803
66f803
* Wed May 30 2018 Todd Zullinger <tmz@pobox.com> - 2.18.0-0.0.rc0
66f803
- Update to 2.18.0-rc0
66f803
- Use new INSTALL_SYMLINKS setting
66f803
66f803
* Wed May 30 2018 Todd Zullinger <tmz@pobox.com> - 2.17.1-3
66f803
- Use %%apply_patch for aarch64 zlib patch, return to %%autosetup
66f803
- Disable jgit tests on s390x, they're unreliable
66f803
- Use %%make_build and %%make_install
66f803
66f803
* Tue May 29 2018 Todd Zullinger <tmz@pobox.com> - 2.17.1-2
66f803
- packfile: Correct zlib buffer handling (#1582555)
66f803
66f803
* Tue May 29 2018 Todd Zullinger <tmz@pobox.com> - 2.17.1-1
66f803
- Update to 2.17.1 (CVE-2018-11233, CVE-2018-11235)
66f803
66f803
* Thu May 24 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-4
66f803
- Fix segfault in rev-parse with invalid input (#1581678)
66f803
- Move TEST_SHELL_PATH setting to config.mak
66f803
66f803
* Mon Apr 16 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-3
66f803
- Move linkcheck macro to existing fedora/rhel > 7 block
66f803
- Re-enable t5000-tar-tree.sh test on f28
66f803
66f803
* Fri Apr 13 2018 Pavel Cahyna <pcahyna@redhat.com>
66f803
- Use BuildRequires: perl-interpreter per the packaging guidelines
66f803
- Update conditions for future RHEL
66f803
66f803
* Tue Apr 10 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-2
66f803
- Require perl-generators on EL > 7
66f803
66f803
* Mon Apr 09 2018 Todd Zullinger <tmz@pobox.com>
66f803
- daemon: use --log-destination=stderr with systemd
66f803
- daemon: fix condition for redirecting stderr
66f803
- git-svn: avoid uninitialized value warning
66f803
66f803
* Sun Apr 08 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Clean up redundant and unneeded Requires
66f803
66f803
* Sat Apr 07 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Remove Git::LoadCPAN to ensure we use only system perl modules
66f803
66f803
* Mon Apr 02 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Allow git-p4 subpackage to be toggled via --with/--without
66f803
- Use %%bcond_(with|without) to enable/disable python3
66f803
- Add support for disabling python2
66f803
66f803
* Mon Apr 02 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-1
66f803
- Update to 2.17.0
66f803
66f803
* Wed Mar 28 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-0.2.rc2
66f803
- Update to 2.17.0-rc2
66f803
66f803
* Tue Mar 27 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Allow cvs subpackage to be toggled via --with/--without
66f803
66f803
* Tue Mar 27 2018 Joe Orton <jorton@redhat.com>
66f803
- Disable CVS support on EL > 7
66f803
66f803
* Tue Mar 27 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-0.1.rc1.2
66f803
- Add missing perl(Mail::Address) requirement (#1561086)
66f803
66f803
* Thu Mar 22 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-0.1.rc1.1
66f803
- Drop .py extension from contrib/hooks/multimail/git_multimail.py
66f803
- Remove unnecessary "chmod +x contrib/hooks/*"
66f803
66f803
* Wed Mar 21 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-0.1.rc1
66f803
- Update to 2.17.0-rc1
66f803
66f803
* Fri Mar 16 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Add findutils BuildRequires, improve 'find | xargs' calls
66f803
66f803
* Thu Mar 15 2018 Todd Zullinger <tmz@pobox.com> - 2.17.0-0.0.rc0
66f803
- Update to 2.17.0-rc0
66f803
- Adjust for simplified perl install
66f803
- Require git-core rather than git for git-daemon
66f803
- Rename gitweb httpd config file
66f803
- Install contrib/diff-highlight (#1550251)
66f803
66f803
* Thu Mar 15 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Use symlinks instead of hardlinks for installed binaries
66f803
66f803
* Fri Feb 23 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Improve hardening flags for EL-6 & EL-7
66f803
66f803
* Fri Feb 16 2018 Todd Zullinger <tmz@pobox.com> - 2.16.2-1
66f803
- Update to 2.16.2
66f803
- Add gawk, gcc, make, and sed BuildRequires
66f803
66f803
* Wed Feb 07 2018 Todd Zullinger <tmz@pobox.com> - 2.16.1-3
66f803
- Order %%files and %%packages sections by name
66f803
- Remove obsolete %%defattr
66f803
- Don't package contrib/svn-fe in %%doc
66f803
- Split git-subtree into a separate package
66f803
66f803
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.1-2.1
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
66f803
66f803
* Mon Jan 29 2018 Todd Zullinger <tmz@pobox.com> - 2.16.1-2
66f803
- git-svn: avoid segfaults in 'git svn branch', re-enable t9128, t9141, and
66f803
  t9167
66f803
- Drop obsolete BuildRoot, Group, %%clean, and buildroot cleanup
66f803
66f803
* Mon Jan 22 2018 Todd Zullinger <tmz@pobox.com> - 2.16.1-1
66f803
- Update to 2.16.1
66f803
- Avoid python dependency in git-core (#1536471)
66f803
66f803
* Thu Jan 18 2018 Todd Zullinger <tmz@pobox.com> - 2.16.0-1
66f803
- Update to 2.16.0
66f803
- Use 'prove' as test harness, enable shell tracing
66f803
- Disable t5000-tar-tree.sh on x86 in f28
66f803
66f803
* Fri Jan 12 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Add %%{emacs_filesystem} to simplify emacs support
66f803
- Use .in template for git@.service to ensure paths are substituted
66f803
66f803
* Thu Jan 11 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Update BuildRequires for tests
66f803
66f803
* Mon Jan 08 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Avoid excluding non-existent .py[co] files in %%doc
66f803
- Remove obsolete gnome-keyring credential helper
66f803
66f803
* Sun Jan 07 2018 Todd Zullinger <tmz@pobox.com>
66f803
- Explicitly enable tests which may be skipped opportunistically
66f803
66f803
* Sat Dec 30 2017 Todd Zullinger <tmz@pobox.com>
66f803
- Fix perl requires filtering on EL-6
66f803
66f803
* Thu Nov 30 2017 Todd Zullinger <tmz@pobox.com> - 2.15.1-3
66f803
- Include verbose logs in build output for 'make test' failures
66f803
- Use %%autosetup macro to unpack and patch source
66f803
- Remove second make invocation for doc build/install
66f803
- Fix builds using '--without docs'
66f803
- Mark git-core-docs sub-package noarch
66f803
- Avoid failures in svnserve tests when run in parallel
66f803
- Run tests in parallel by default on Fedora
66f803
- Skip 'git svn branch' tests which fail intermittently
66f803
- Re-enable grep tests on s390x
66f803
66f803
* Wed Nov 29 2017 Todd Zullinger <tmz@pobox.com> - 2.15.1-2
66f803
- Fix debuginfo for gnome-keyring and libsecret credential helpers
66f803
66f803
* Tue Nov 28 2017 Todd Zullinger <tmz@pobox.com> - 2.15.1-1
66f803
- Update to 2.15.1
66f803
66f803
* Tue Nov 21 2017 Todd Zullinger <tmz@pobox.com>
66f803
- Add tcl/tk BuildRequires
66f803
- Enable support for release candidate builds
66f803
66f803
* Tue Nov 07 2017 Todd Zullinger <tmz@pobox.com> - 2.15.0-2
66f803
- Fix git-clone memory exhaustion (CVE-2017-15298)
66f803
  Resolves: #1510455, #1510457
66f803
- Disable cross-directory hardlinks
66f803
- Drop ancient obsoletes for git and git-arch
66f803
- Update summary/description of numerous subpackages
66f803
- Fix shebang in a few places to silence rpmlint complaints
66f803
- Fix t9020-remote-svn failure when setting PYTHON_PATH
66f803
- Rename %%gitcoredir to %%gitexecdir; upstream uses the latter
66f803
- Move commands which no longer require perl into git-core
66f803
- Move filter-branch out of core, it needs perl now
66f803
- Improve test suite coverage
66f803
66f803
* Mon Oct 30 2017 Todd Zullinger <tmz@pobox.com> - 2.15.0-1
66f803
- Update to 2.15.0
66f803
66f803
* Mon Oct 23 2017 Todd Zullinger <tmz@pobox.com> - 2.14.3-1
66f803
- Update to 2.14.3
66f803
66f803
* Tue Sep 26 2017 Todd Zullinger <tmz@pobox.com> - 2.14.2-2
66f803
- Update to 2.14.2
66f803
66f803
* Thu Aug 10 2017 Todd Zullinger <tmz@pobox.com> - 2.14.1-2
66f803
- Rebuild for rpm-4.14 bug (#1480407)
66f803
66f803
* Thu Aug 10 2017 Todd Zullinger <tmz@pobox.com> - 2.14.1-1
66f803
- Update to 2.14.1 (resolves CVE-2017-1000117)
66f803
66f803
* Tue Aug 08 2017 Iryna Shcherbina <ishcherb@redhat.com> - 2.14.0-2
66f803
- Add a build-time dependency on python2-devel for p4
66f803
  Resolves: #1479713
66f803
- Skip all grep tests on s390x for now because it failes intermittently
66f803
66f803
* Fri Aug 04 2017 Todd Zullinger <tmz@pobox.com> - 2.14.0-1
66f803
- Update to 2.14.0
66f803
- Use pcre2 library
66f803
- git-p4: explicitly require python2
66f803
66f803
* Tue Aug 01 2017 Todd Zullinger <tmz@pobox.com> - 2.13.4-1
66f803
- Update to 2.13.4
66f803
- Remove EL-5 and old Fedora conditionals
66f803
66f803
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2.13.3-3
66f803
- Rebuild with binutils fix for ppc64le (#1475636)
66f803
66f803
* Thu Jul 20 2017 Petr Stodulka <pstodulk@redhat.com> - 2.13.3-2
66f803
- Move documentation files from all subpackages into the %%{_pkgdocdir}
66f803
  directory, so links inside doc and man files are correct
66f803
  Resolves: #1357438
66f803
- Quiet a few rpmlint complaints regarding hidden files in contrib dir
66f803
- Remove explicit libcurl requirement from git-core
66f803
66f803
* Thu Jul 13 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.13.3-1
66f803
- Update to 2.13.3
66f803
66f803
* Sun Jun 25 2017 Todd Zullinger <tmz@pobox.com> - 2.13.2-1
66f803
- Update to 2.13.2
66f803
- Skip grep tests which fail intermittently on s390x
66f803
66f803
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.1-2
66f803
- Perl 5.26 re-rebuild of bootstrapped packages
66f803
66f803
* Mon Jun 05 2017 Todd Zullinger <tmz@pobox.com> - 2.13.1-1
66f803
- Update to 2.13.1
66f803
66f803
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.13.0-3
66f803
- Perl 5.26 rebuild
66f803
66f803
* Wed May 17 2017 Todd Zullinger <tmz@pobox.com> - 2.13.0-2
66f803
- Use default, collision-detecting SHA1 implementation
66f803
66f803
* Tue May 09 2017 Todd Zullinger <tmz@pobox.com> - 2.13.0-1
66f803
- Update to 2.13.0 (resolves CVE-2017-8386)
66f803
66f803
* Wed Mar 29 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.12.2-1
66f803
- Update to 2.12.2
66f803
66f803
* Tue Mar 21 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.12.1-1
66f803
- Update to 2.12.1
66f803
66f803
* Mon Feb 27 2017 Jon Ciesla <limburgher@gmail.com> - 2.12.0-1
66f803
- Update to 2.12.0
66f803
66f803
* Fri Feb 17 2017 Petr Stodulka <pstodulk@redhat.com> - 2.11.1-3
66f803
- remove non-ASCII characters from description and title of packages
66f803
- fix requiremets
66f803
- fix spec to be compatible for other systems
66f803
- remove deprecated credential-gnome-keyring
66f803
66f803
* Fri Feb 17 2017 Todd Zullinger <tmz@pobox.com> - 2.11.1-3
66f803
- Remove unnecessary rsync requirement from git-core
66f803
- Move gnome-keyring credential helper from git-core to git
66f803
- Enable libsecret credential helper
66f803
- Run git test suite
66f803
- Use %%{_mandir} in git/git-core file list filters
66f803
- Fix version of emacs-git and emacs-git-el provides
66f803
- Clean up contrib/{credential,subtree} to avoid cruft in git-core-doc
66f803
- Fix a number of macro-in-comment warnings from rpmlint
66f803
66f803
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
66f803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
66f803
66f803
* Fri Feb 03 2017 Jon Ciesla <limburgher@gmail.com> - 2.11.1-1
66f803
- Update to 2.11.1