Merge pull request !2 from openeuler-basic/init
This commit is contained in:
openeuler-ci-bot 2019-12-26 11:18:08 +08:00 committed by Gitee
commit 8aceafa4a7

View File

@ -1,7 +1,7 @@
%global gitexecdir %{_libexecdir}/git-core
Name: git
Version: 2.23.0
Release: 6
Release: 7
Summary: A popular and widely used Version Control System
License: GPLv2+ or LGPLv2.1
URL: https://git-scm.com/
@ -16,7 +16,7 @@ Source104: git.socket
BuildRequires: openssl-devel libcurl-devel expat-devel systemd asciidoc xmlto glib2-devel libsecret-devel pcre-devel desktop-file-utils
BuildRequires: python3-devel perl-generators perl-interpreter perl-Error perl(Test::More) perl-MailTools perl(Test)
Requires: less zlib openssh-clients
Requires: less zlib openssh-clients perl(Term::ReadKey) perl-Git
Obsoletes: %{name}-core %{name}-core-doc %{name}-subtree %{name}-p4
Provides: %{name} <= %{version}-%{release} %{name}-core %{name}-subtree %{name}-p4
@ -182,6 +182,9 @@ install -D -p -m 644 %{SOURCE102} %{buildroot}%{_sysconfdir}/gitweb.conf
install -D -p -m 644 %{SOURCE103} %{buildroot}%{_unitdir}/git@.service
install -D -p -m 644 %{SOURCE104} %{buildroot}%{_unitdir}/git.socket
install -pm 755 contrib/credential/libsecret/git-credential-libsecret %{buildroot}%{gitexecdir}
install -pm 755 contrib/credential/netrc/git-credential-netrc %{buildroot}%{gitexecdir}
%find_lang %{name}
cat %{name}.lang >> git-bin-files
@ -268,6 +271,9 @@ make test
%{_mandir}/man7/git*.7.*
%changelog
* Thu Dec 5 2019 shenyangyang <shenyangyang4@huawei.com> - 2.23.0-7
- Add requires and two files in %{_libexecdir}/git-core
* Thu Dec 5 2019 shenyangyang <shenyangyang4@huawei.com> - 2.23.0-6
- Delete the perl(Error*) module that provided by perl-Git