Compare commits
10 Commits
707302426f
...
2e68db710e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e68db710e | ||
|
|
97a5dccda9 | ||
|
|
3b29688d8d | ||
|
|
93d758dc6e | ||
|
|
88a4dcd39a | ||
|
|
cab265be96 | ||
|
|
76b2f97341 | ||
|
|
ddc36027c7 | ||
|
|
d6ae38f555 | ||
|
|
679b2f4280 |
25
lzo.spec
25
lzo.spec
@ -1,6 +1,6 @@
|
||||
Name: lzo
|
||||
Version: 2.10
|
||||
Release: 1
|
||||
Release: 5
|
||||
Summary: a real-time data compression library
|
||||
License: GPLv2+
|
||||
URL: http://www.oberhumer.com/opensource/lzo/
|
||||
@ -41,11 +41,13 @@ over compression ratio.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%configure --disable-dependency-tracking --disable-static --enable-shared
|
||||
%make_build
|
||||
|
||||
gcc %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
||||
gcc -g -shared -Wl,-z,now -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
|
||||
%{__cc} %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
||||
%{__cc} -g -shared -Wl,-z,now -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -56,7 +58,7 @@ install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
|
||||
ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
||||
|
||||
%check
|
||||
make check test
|
||||
%make_build check test
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -89,5 +91,20 @@ make check test
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Mon Mar 18 2024 wangqiang <wangqiang1@kylinos.cn> - 2.10-5
|
||||
- Optimize build command
|
||||
|
||||
* Thu Feb 29 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 2.10-4
|
||||
- add support for clang
|
||||
|
||||
* Tue Feb 14 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.10-3
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:optimize test command
|
||||
|
||||
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 2.10-2
|
||||
- rebuild for next release
|
||||
|
||||
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.10-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user