!4 libtommath delete -Sgit from %autosetup, and delete BuildRequires git

git
From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-08-19 08:24:07 +00:00 committed by Gitee
commit 53b011e950

View File

@ -1,14 +1,14 @@
Name: libtommath Name: libtommath
Version: 1.2.0 Version: 1.2.0
Release: 1 Release: 2
Summary: A portable number theoretic multiple-precision integer library. Summary: A portable number theoretic multiple-precision integer library.
License: Public Domain License: Public Domain
URL: http://www.libtom.net/ URL: http://www.libtom.net/
Source0: https://github.com/libtom/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/libtom/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: ghostscript libtiff-tools libtool git texlive-dvips-bin ghostscript-tools-dvipdf BuildRequires: ghostscript libtiff-tools libtool texlive-dvips-bin ghostscript-tools-dvipdf
BuildRequires: texlive-latex-bin-bin texlive-makeindex-bin texlive-mfware-bin TeXamator git BuildRequires: texlive-latex-bin-bin texlive-makeindex-bin texlive-mfware-bin TeXamator
BuildRequires: tex(cmr10.tfm) tex(fancyhdr.sty) tex(hyphen.tex) texlive-metafont-bin BuildRequires: tex(cmr10.tfm) tex(fancyhdr.sty) tex(hyphen.tex) texlive-metafont-bin
BuildRequires: texlive-appendix BuildRequires: texlive-appendix
@ -34,7 +34,7 @@ Obsoletes: %{name}-doc
The %{name}-doc package contains PDF documentation of %{name}. The %{name}-doc package contains PDF documentation of %{name}.
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
# Fix permissions on installed library # Fix permissions on installed library
sed -i -e 's/644 $(LIBNAME)/755 $(LIBNAME)/g' makefile.shared sed -i -e 's/644 $(LIBNAME)/755 $(LIBNAME)/g' makefile.shared
# Fix pkgconfig path # Fix pkgconfig path
@ -68,6 +68,10 @@ find %{buildroot} -name '*.a' -delete
%doc doc/bn.pdf %doc doc/bn.pdf
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.0-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
git
* Tue Jul 28 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.2.0-1 * Tue Jul 28 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.2.0-1
- update version to 1.2.0 - update version to 1.2.0