Blame SPECS/git.spec

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