Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
9b4376c957
!27 update version to 1.2.1
From: @fly_fzc 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-12-20 04:12:40 +00:00
fly_fzc
28f707c346 update version to 1.2.1 2023-12-15 16:45:13 +08:00
openeuler-ci-bot
b94a1e0dfe
!19 Fix CVE-2023-36328
From: @fly_fzc 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2023-09-04 12:00:03 +00:00
fly_fzc
4e06b6a156 Fix CVE-2023-36328 2023-09-04 11:25:59 +08:00
openeuler-ci-bot
f5e225f118
!12 enable check test suite
From: @fly_fzc 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2023-04-06 02:30:10 +00:00
fly_fzc
d5e2eedea3 enable check test suite 2023-03-29 16:48:51 +08:00
openeuler-ci-bot
53b011e950 !4 libtommath delete -Sgit from %autosetup, and delete BuildRequires git
git
From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-08-19 08:24:07 +00:00
chenyanpanHW
6fd5e70bab
delete -Sgit from %autosetup, and delete BuildRequires git
git
2021-07-30 23:03:38 +08:00
openeuler-ci-bot
3e14f247dd !2 update version to 1.2.0
Merge pull request !2 from 杨壮壮/master
2020-07-28 19:31:31 +08:00
yang_zhuang_zhuang
f15a57cb08 update version to 1.2.0 2020-07-28 19:01:54 +08:00
3 changed files with 29 additions and 7 deletions

Binary file not shown.

BIN
libtommath-1.2.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,16 @@
Name: libtommath
Version: 1.0.1
Release: 5
Version: 1.2.1
Release: 1
Summary: A portable number theoretic multiple-precision integer library.
License: Public Domain
URL: http://www.libtom.net/
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: texlive-latex-bin-bin texlive-makeindex-bin texlive-mfware-bin TeXamator git
BuildRequires: ghostscript libtiff-tools libtool texlive-dvips-bin ghostscript-tools-dvipdf
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: texlive-appendix
%description
LibTomMath is a free open source portable number theoretic multiple-precision integer
@ -33,7 +34,7 @@ Obsoletes: %{name}-doc
The %{name}-doc package contains PDF documentation of %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
# Fix permissions on installed library
sed -i -e 's/644 $(LIBNAME)/755 $(LIBNAME)/g' makefile.shared
# Fix pkgconfig path
@ -44,7 +45,7 @@ sed -i \
%build
%make_build V=1 CFLAGS="%{optflags} -I./" -f makefile.shared
%make_build V=1 -f makefile poster manual docs
make V=1 -f makefile manual docs
%install
%make_install V=1 CFLAGS="%{optflags} -I./" PREFIX=%{_prefix} LIBPATH=%{_libdir} -f makefile.shared
@ -54,6 +55,11 @@ find %{buildroot} -name '*.a' -delete
%ldconfig_scriptlets
%check
make %{?_smp_mflags} test_standalone
./test
rm -f demo/*.o
%files
%license LICENSE
%{_libdir}/*.so.*
@ -64,8 +70,24 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/pkgconfig/*.pc
%files help
%doc doc/bn.pdf doc/poster.pdf doc/tommath.pdf
%doc doc/bn.pdf
%changelog
* Fri Dec 15 2023 fuanan <fuanan3@h-partners.com> - 1.2.1-1
- update version to 1.2.1
* Mon Sep 04 2023 fuanan <fuanan3@h-partners.com> - 1.2.0-4
- Fix CVE-2023-36328
* Wed Mar 29 2023 fuanan <fuanan3@h-partners.com> - 1.2.0-3
- enable check test suite
* 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
- update version to 1.2.0
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-5
- Package init