!116 [enable multithreading compilation and installation].[move Git.3pm.gz to perl-Git,avoid installation conflicts].[change BuildRequires from pcre-devel to pcre2-devel].
From: @fly_fzc Reviewed-by: @openeuler-basic Signed-off-by: @openeuler-basic
This commit is contained in:
commit
5d98e196aa
20
git.spec
20
git.spec
@ -1,7 +1,7 @@
|
|||||||
%global gitexecdir %{_libexecdir}/git-core
|
%global gitexecdir %{_libexecdir}/git-core
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.39.1
|
Version: 2.39.1
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: A popular and widely used Version Control System
|
Summary: A popular and widely used Version Control System
|
||||||
License: GPLv2+ or LGPLv2.1
|
License: GPLv2+ or LGPLv2.1
|
||||||
URL: https://git-scm.com/
|
URL: https://git-scm.com/
|
||||||
@ -27,7 +27,7 @@ Patch11: backport-CVE-2023-29007.patch
|
|||||||
Patch12: backport-CVE-2023-25815-gettext-avoid-using-gettext-if-the-locale-dir-is-not.patch
|
Patch12: backport-CVE-2023-25815-gettext-avoid-using-gettext-if-the-locale-dir-is-not.patch
|
||||||
|
|
||||||
BuildRequires: gcc gettext
|
BuildRequires: gcc gettext
|
||||||
BuildRequires: openssl-devel libcurl-devel expat-devel systemd asciidoc xmlto glib2-devel libsecret-devel pcre-devel desktop-file-utils
|
BuildRequires: openssl-devel libcurl-devel expat-devel systemd asciidoc xmlto glib2-devel libsecret-devel pcre2-devel desktop-file-utils
|
||||||
BuildRequires: python3-devel perl-generators perl-interpreter perl-Error perl(Test::More) perl-MailTools perl(Test)
|
BuildRequires: python3-devel perl-generators perl-interpreter perl-Error perl(Test::More) perl-MailTools perl(Test)
|
||||||
Requires: less zlib openssh-clients perl(Term::ReadKey) perl-Git git-core = %{version}-%{release}
|
Requires: less zlib openssh-clients perl(Term::ReadKey) perl-Git git-core = %{version}-%{release}
|
||||||
Obsoletes: %{name}-core-doc %{name}-subtree %{name}-p4 git-cvs < %{version}-%{release}
|
Obsoletes: %{name}-core-doc %{name}-subtree %{name}-p4 git-cvs < %{version}-%{release}
|
||||||
@ -174,9 +174,9 @@ sed -i -e '1s@#!\( */usr/bin/env python\|%{__python2}\)$@#!%{__python3}@' \
|
|||||||
%make_build -C contrib/diff-highlight/
|
%make_build -C contrib/diff-highlight/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install install-doc
|
%make_install %{_smp_mflags} install-doc
|
||||||
%make_install -C contrib/subtree/ install-doc
|
%make_install %{_smp_mflags} -C contrib/subtree/ install-doc
|
||||||
%make_install -C contrib/contacts/ install-doc
|
%make_install %{_smp_mflags} -C contrib/contacts/ install-doc
|
||||||
|
|
||||||
install -p -m 644 README.md %{buildroot}%{_pkgdocdir}
|
install -p -m 644 README.md %{buildroot}%{_pkgdocdir}
|
||||||
install -p -m 644 gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
|
install -p -m 644 gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
|
||||||
@ -289,6 +289,7 @@ make %{?_smp_mflags} test
|
|||||||
%{gitexecdir}/*email*
|
%{gitexecdir}/*email*
|
||||||
|
|
||||||
%files -n perl-Git -f perl-git-files
|
%files -n perl-Git -f perl-git-files
|
||||||
|
%{_mandir}/man3/Git.*
|
||||||
|
|
||||||
%files -n perl-Git-SVN -f perl-git-svn-files
|
%files -n perl-Git-SVN -f perl-git-svn-files
|
||||||
|
|
||||||
@ -298,11 +299,18 @@ make %{?_smp_mflags} test
|
|||||||
%{_pkgdocdir}/*
|
%{_pkgdocdir}/*
|
||||||
%{_mandir}/man1/git*.1.*
|
%{_mandir}/man1/git*.1.*
|
||||||
%{_mandir}/man1/scalar*.1.*
|
%{_mandir}/man1/scalar*.1.*
|
||||||
%{_mandir}/man3/Git.*
|
|
||||||
%{_mandir}/man5/git*.5.*
|
%{_mandir}/man5/git*.5.*
|
||||||
%{_mandir}/man7/git*.7.*
|
%{_mandir}/man7/git*.7.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 27 2023 fuanan <fuanan3@h-partners.com> - 2.39.1-6
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:enable multithreading compilation and installation,
|
||||||
|
move Git.3pm.gz to perl-Git,avoid installation conflicts,
|
||||||
|
change BuildRequires from pcre-devel to pcre2-devel.
|
||||||
|
|
||||||
* Wed Apr 26 2023 fuanan <fuanan3@h-partners.com> - 2.39.1-5
|
* Wed Apr 26 2023 fuanan <fuanan3@h-partners.com> - 2.39.1-5
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- ID:CVE-2023-25652 CVE-2023-29007 CVE-2023-25815
|
- ID:CVE-2023-25652 CVE-2023-29007 CVE-2023-25815
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user