Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dacb4ede1d | ||
|
|
9e90612a33 | ||
|
|
6dd2327068 | ||
|
|
d1ec8b9ae1 | ||
|
|
7ab74b2ae4 | ||
|
|
358ea58c61 | ||
|
|
f3068dc8b1 | ||
|
|
3997fddc74 | ||
|
|
4b2d6672b9 | ||
|
|
e6d084d7c3 | ||
|
|
d455548806 | ||
|
|
039ed5da6b | ||
|
|
19e738fa4a | ||
|
|
d92574f579 |
2 changed files with 71 additions and 36 deletions
103
git.spec
103
git.spec
|
|
@ -78,7 +78,7 @@
|
|||
%global _package_note_file %{_builddir}/%{name}-%{real_version}/.package_note-%{name}-%{version}-%{release}.%{_arch}.ld
|
||||
|
||||
Name: git
|
||||
Version: 2.46.0
|
||||
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
|
||||
|
|
@ -536,7 +536,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
|
||||
|
|
@ -598,6 +598,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 +612,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 +730,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 +772,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 +864,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 +920,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 +931,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 +940,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 +949,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,22 +958,22 @@ rmdir --ignore-fail-on-non-empty "$testdir"
|
|||
# endif with cvs
|
||||
|
||||
%files daemon
|
||||
%{_pkgdocdir}/git-daemon*.txt
|
||||
%{_pkgdocdir}/git-daemon*.adoc
|
||||
%{_unitdir}/git.socket
|
||||
%{_unitdir}/git@.service
|
||||
%config(noreplace) %{_unitdir}/git@.service
|
||||
%{gitexecdir}/git-daemon
|
||||
%{_localstatedir}/lib/git
|
||||
%{?with_docs:%{_mandir}/man1/git-daemon*.1*}
|
||||
%{?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 +982,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 +995,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 +1004,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 +1012,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 +1025,56 @@ 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
|
||||
|
||||
* Wed Jan 15 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.48.1-1
|
||||
- update to 2.48.1
|
||||
|
||||
* Mon Jan 13 2025 Ondřej Pohořelský <opohorel@redhat.com> - 2.48.0-1
|
||||
- update to 2.48.0
|
||||
|
||||
* Mon Nov 25 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.47.1-1
|
||||
- update to 2.47.1
|
||||
|
||||
* Tue Oct 08 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.47.0-1
|
||||
- update to 2.47.0
|
||||
|
||||
* Tue Sep 24 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.46.2-1
|
||||
- update to 2.46.2
|
||||
|
||||
* Mon Sep 16 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.46.1-1
|
||||
- update to 2.46.1
|
||||
|
||||
* Mon Aug 05 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.46.0-1
|
||||
- update to 2.46.0
|
||||
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (git-2.46.0.tar.xz) = 3afae7a094da070c627f68ceb54c2345e3a49e04e455197527b732eb220e8c3249f5d09655a59bf4280dd0c0a3e305abc1380693e0a7fb0b8138b741c4708184
|
||||
SHA512 (git-2.46.0.tar.sign) = 912d88ec3a7e58b1b7755b6d9fd26fca39f47d98e0bcba59140cdb05f873dadbdaeb54b5f748f95f95a2cc6db9a892864b8b6331a4fe009d3b6142bafd23ab22
|
||||
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