Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
890891525b | ||
|
|
14642cc681 | ||
|
|
b54c829dee | ||
|
|
1bf540bab4 | ||
|
|
f8bcf50ac8 | ||
|
|
0cd22af43c | ||
|
|
98e46f1051 | ||
|
|
c32b31fe4f |
2 changed files with 63 additions and 37 deletions
96
git.spec
96
git.spec
|
|
@ -78,8 +78,8 @@
|
|||
%global _package_note_file %{_builddir}/%{name}-%{real_version}/.package_note-%{name}-%{version}-%{release}.%{_arch}.ld
|
||||
|
||||
Name: git
|
||||
Version: 2.48.1
|
||||
Release: 2%{?dist}
|
||||
Version: 2.52.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Fast Version Control System
|
||||
License: BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
|
||||
URL: https://git-scm.com/
|
||||
|
|
@ -429,7 +429,9 @@ Summary: Git repository browser
|
|||
BuildArch: noarch
|
||||
Requires: git = %{version}-%{release}
|
||||
Requires: git-gui = %{version}-%{release}
|
||||
Requires: tk >= 8.4
|
||||
# Keep gitk on tcl/tk 8.x until its ready for 9 (also see below in config.mk)
|
||||
# https://github.com/j6t/gitk/issues/5
|
||||
Requires: tk8 >= 8.4
|
||||
%description -n gitk
|
||||
%{summary}.
|
||||
|
||||
|
|
@ -536,7 +538,7 @@ install -p -m 755 %{SOURCE99} print-failed-test-output
|
|||
# Remove git-archimport
|
||||
sed -i '/^SCRIPT_PERL += git-archimport\.perl$/d' Makefile
|
||||
sed -i '/^git-archimport/d' command-list.txt
|
||||
rm git-archimport.perl Documentation/git-archimport.txt
|
||||
rm git-archimport.perl Documentation/git-archimport.adoc
|
||||
|
||||
%if %{without cvs}
|
||||
# Remove git-cvs* from command list
|
||||
|
|
@ -587,6 +589,10 @@ gitwebdir = %{_localstatedir}/www/git
|
|||
DEFAULT_TEST_TARGET = prove
|
||||
GIT_PROVE_OPTS = --verbose --normalize %{?_smp_mflags} --formatter=TAP::Formatter::File
|
||||
GIT_TEST_OPTS = -x --verbose-log
|
||||
|
||||
# Keep gitk on tcl/tk 8.x until its ready for 9 (see more above in gitk requires)
|
||||
TCLTK_PATH = wish8
|
||||
TCL_PATH = tclsh8
|
||||
EOF
|
||||
|
||||
# Filter bogus perl requires
|
||||
|
|
@ -598,6 +604,9 @@ EOF
|
|||
%endif
|
||||
# endif ! defined perl_bootstrap
|
||||
|
||||
# Exclude sample hook files from automatic dependency detection
|
||||
%global __requires_exclude_from ^%{_datadir}/git-core/templates/hooks/.*sample$
|
||||
|
||||
# Remove Git::LoadCPAN to ensure we use only system perl modules. This also
|
||||
# allows the dependencies to be automatically processed by rpm.
|
||||
rm -rf perl/Git/LoadCPAN{.pm,/}
|
||||
|
|
@ -609,7 +618,7 @@ sed -i 's@"++GITWEB_HOME_LINK_STR++"@$ENV{"SERVER_NAME"} ? "git://" . $ENV{"SERV
|
|||
|
||||
# Move contrib/{contacts,subtree} docs to Documentation so they build with the
|
||||
# proper asciidoc/docbook/xmlto options
|
||||
mv contrib/{contacts,subtree}/git-*.txt Documentation/
|
||||
mv contrib/{contacts,subtree}/git-*.adoc Documentation/
|
||||
|
||||
%build
|
||||
# Improve build reproducibility
|
||||
|
|
@ -727,13 +736,6 @@ mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
|
|||
install -pm 644 contrib/completion/git-completion.tcsh \
|
||||
%{buildroot}%{_datadir}/git-core/contrib/completion/
|
||||
|
||||
# Move contrib/hooks out of %%docdir
|
||||
mkdir -p %{buildroot}%{_datadir}/git-core/contrib
|
||||
mv contrib/hooks %{buildroot}%{_datadir}/git-core/contrib
|
||||
pushd contrib > /dev/null
|
||||
ln -s ../../../git-core/contrib/hooks
|
||||
popd > /dev/null
|
||||
|
||||
# Install git-prompt.sh
|
||||
mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
|
||||
install -pm 644 contrib/completion/git-prompt.sh \
|
||||
|
|
@ -776,7 +778,7 @@ grep -E "$not_core_re" bin-man-doc-files > bin-man-doc-git-files
|
|||
# contrib
|
||||
not_core_doc_re="(git-(cvs|gui|citool|daemon|instaweb|subtree))|p4|svn|email|gitk|gitweb"
|
||||
mkdir -p %{buildroot}%{_pkgdocdir}/
|
||||
cp -pr CODE_OF_CONDUCT.md README.md Documentation/*.txt Documentation/RelNotes contrib %{buildroot}%{_pkgdocdir}/
|
||||
cp -pr CODE_OF_CONDUCT.md README.md Documentation/*.adoc Documentation/RelNotes contrib %{buildroot}%{_pkgdocdir}/
|
||||
# Remove contrib/ files/dirs which have nothing useful for documentation
|
||||
rm -rf %{buildroot}%{_pkgdocdir}/contrib/{contacts,credential}/
|
||||
cp -p gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
|
||||
|
|
@ -868,6 +870,17 @@ GIT_SKIP_TESTS="$GIT_SKIP_TESTS t5300.1[02348] t5300.2[03459] t5300.30 t5300.4[5
|
|||
%endif
|
||||
# endif rhel == 8 && arch == s390x
|
||||
|
||||
%if "%{_arch}" == "s390x"
|
||||
# Skip tests which fail on s390x
|
||||
#
|
||||
# The following tests are failing on s390x.
|
||||
# https://lore.kernel.org/git/4dc4c8cd-c0cc-4784-8fcf-defa3a051087@mit.edu/
|
||||
#
|
||||
# t8020.16 'cross merge boundaries in blaming'
|
||||
# t8020.19 'last-modified merge undoes changes'
|
||||
GIT_SKIP_TESTS="$GIT_SKIP_TESTS t8020.16 t8020.19"
|
||||
%endif
|
||||
# endif "%{_arch}" == "s390x"
|
||||
export GIT_SKIP_TESTS
|
||||
|
||||
# Set LANG so various UTF-8 tests are run
|
||||
|
|
@ -913,11 +926,6 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
|
||||
%files -f bin-man-doc-git-files
|
||||
%{_datadir}/git-core/contrib/diff-highlight
|
||||
%{_datadir}/git-core/contrib/hooks/update-paranoid
|
||||
%{_datadir}/git-core/contrib/hooks/setgitperms.perl
|
||||
%{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
|
||||
%{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||
%{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||
|
||||
%files all
|
||||
# No files for you!
|
||||
|
|
@ -929,11 +937,6 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
%license COPYING
|
||||
# exclude is best way here because of troubles with symlinks inside git-core/
|
||||
%exclude %{_datadir}/git-core/contrib/diff-highlight
|
||||
%exclude %{_datadir}/git-core/contrib/hooks/update-paranoid
|
||||
%exclude %{_datadir}/git-core/contrib/hooks/setgitperms.perl
|
||||
%exclude %{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
|
||||
%exclude %{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||
%exclude %{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||
%{bash_completions_dir}/git
|
||||
%{_datadir}/git-core/
|
||||
|
||||
|
|
@ -943,7 +946,6 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
%exclude %{_pkgdocdir}/contrib/*/*.py[co]
|
||||
%endif
|
||||
# endif rhel <= 7
|
||||
%{_pkgdocdir}/contrib/hooks
|
||||
|
||||
%if %{with libsecret}
|
||||
%files credential-libsecret
|
||||
|
|
@ -953,7 +955,7 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
|
||||
%if %{with cvs}
|
||||
%files cvs
|
||||
%{_pkgdocdir}/*git-cvs*.txt
|
||||
%{_pkgdocdir}/*git-cvs*.adoc
|
||||
%{_bindir}/git-cvsserver
|
||||
%{gitexecdir}/*cvs*
|
||||
%{?with_docs:%{_mandir}/man1/*cvs*.1*}
|
||||
|
|
@ -962,7 +964,7 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
# endif with cvs
|
||||
|
||||
%files daemon
|
||||
%{_pkgdocdir}/git-daemon*.txt
|
||||
%{_pkgdocdir}/git-daemon*.adoc
|
||||
%{_unitdir}/git.socket
|
||||
%config(noreplace) %{_unitdir}/git@.service
|
||||
%{gitexecdir}/git-daemon
|
||||
|
|
@ -971,13 +973,13 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
%{?with_docs:%{_pkgdocdir}/git-daemon*.html}
|
||||
|
||||
%files email
|
||||
%{_pkgdocdir}/*email*.txt
|
||||
%{_pkgdocdir}/*email*.adoc
|
||||
%{gitexecdir}/*email*
|
||||
%{?with_docs:%{_mandir}/man1/*email*.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/*email*.html}
|
||||
|
||||
%files -n gitk
|
||||
%{_pkgdocdir}/*gitk*.txt
|
||||
%{_pkgdocdir}/*gitk*.adoc
|
||||
%{_bindir}/*gitk*
|
||||
%{_datadir}/gitk
|
||||
%{bash_completions_dir}/gitk
|
||||
|
|
@ -986,7 +988,7 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
|
||||
%files -n gitweb
|
||||
%{_pkgdocdir}/*.gitweb
|
||||
%{_pkgdocdir}/gitweb*.txt
|
||||
%{_pkgdocdir}/gitweb*.adoc
|
||||
%{?with_docs:%{_mandir}/man1/gitweb.1*}
|
||||
%{?with_docs:%{_mandir}/man5/gitweb.conf.5*}
|
||||
%{?with_docs:%{_pkgdocdir}/gitweb*.html}
|
||||
|
|
@ -999,8 +1001,8 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
%{gitexecdir}/git-citool
|
||||
%{_datadir}/applications/*git-gui.desktop
|
||||
%{_datadir}/git-gui/
|
||||
%{_pkgdocdir}/git-gui.txt
|
||||
%{_pkgdocdir}/git-citool.txt
|
||||
%{_pkgdocdir}/git-gui.adoc
|
||||
%{_pkgdocdir}/git-citool.adoc
|
||||
%{?with_docs:%{_mandir}/man1/git-gui.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/git-gui.html}
|
||||
%{?with_docs:%{_mandir}/man1/git-citool.1*}
|
||||
|
|
@ -1008,7 +1010,7 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
|
||||
%files instaweb
|
||||
%{gitexecdir}/git-instaweb
|
||||
%{_pkgdocdir}/git-instaweb.txt
|
||||
%{_pkgdocdir}/git-instaweb.adoc
|
||||
%{?with_docs:%{_mandir}/man1/git-instaweb.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/git-instaweb.html}
|
||||
|
||||
|
|
@ -1016,7 +1018,7 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
%files p4
|
||||
%{gitexecdir}/*p4*
|
||||
%{gitexecdir}/mergetools/p4merge
|
||||
%{_pkgdocdir}/*p4*.txt
|
||||
%{_pkgdocdir}/*p4*.adoc
|
||||
%{?with_docs:%{_mandir}/man1/*p4*.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/*p4*.html}
|
||||
%endif
|
||||
|
|
@ -1029,17 +1031,41 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
|
||||
%files subtree
|
||||
%{gitexecdir}/git-subtree
|
||||
%{_pkgdocdir}/git-subtree.txt
|
||||
%{_pkgdocdir}/git-subtree.adoc
|
||||
%{?with_docs:%{_mandir}/man1/git-subtree.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/git-subtree.html}
|
||||
|
||||
%files svn
|
||||
%{gitexecdir}/git-svn
|
||||
%{_pkgdocdir}/git-svn.txt
|
||||
%{_pkgdocdir}/git-svn.adoc
|
||||
%{?with_docs:%{_mandir}/man1/git-svn.1*}
|
||||
%{?with_docs:%{_pkgdocdir}/git-svn.html}
|
||||
|
||||
%changelog
|
||||
* Thu Nov 20 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.52.0-1
|
||||
- update to 2.52.0
|
||||
|
||||
* Thu Oct 23 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.51.1-1
|
||||
- update to 2.51.1
|
||||
|
||||
* Thu Aug 21 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.51.0-2
|
||||
- exclude sample hook files from automatic dependency detection
|
||||
|
||||
* Wed Aug 20 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.51.0-1
|
||||
- update to 2.51.0
|
||||
|
||||
* Tue Jul 08 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.50.1-1
|
||||
- update to 2.50.1
|
||||
|
||||
* Mon Jun 23 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.50.0-1
|
||||
- update to 2.50.0
|
||||
|
||||
* Mon Mar 17 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.49.0-1
|
||||
- update to 2.49.0
|
||||
|
||||
* Thu Feb 6 2025 Yanko Kaneti <yaneti@declera.com> - 2.48.1-3
|
||||
- Keep gitk on tcl/tk 8.x until its ready for 9
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.48.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (git-2.48.1.tar.xz) = 75c89ab4ca83adc46989a4b05a9b482b40a7ba69d15aa1c1f27d0cee37c2908e154a75d59b0a0a540647352b9c55020f1a5ad309f0eff78e9fd8e631ef9e4606
|
||||
SHA512 (git-2.48.1.tar.sign) = 6d2308a71970940288137df76122ac402d1e5fdd2250fce5e6d4681d68b630bcfc109e56e4539598c6b5113024c78a25193d3b8d38c39ee547a37c1d8b2f4d15
|
||||
SHA512 (git-2.52.0.tar.xz) = 965e5ebb72d1f080d64e34bdb75f0bb1689c9dd41dcf63b020d986bad49808ac09bfb1115962bc0c5b95bac8622367ac4cd09aa89266f73d2137fe94c90dd3ed
|
||||
SHA512 (git-2.52.0.tar.sign) = a5a68ce131a5763650c477ec01a4de958dd6a946bdea0f613e26bdab41d2df6b3ca63f9028bbe603bf0c834bd415c86e6c616b1ff08cc48aa7c3c61a37b24b74
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue