Compare commits
No commits in common. "2e68db710ed21890a6d648c7f9b03e4a721002d8" and "707302426febe5c3cceab3010926072ebfc9e75b" have entirely different histories.
2e68db710e
...
707302426f
25
lzo.spec
25
lzo.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lzo
|
Name: lzo
|
||||||
Version: 2.10
|
Version: 2.10
|
||||||
Release: 5
|
Release: 1
|
||||||
Summary: a real-time data compression library
|
Summary: a real-time data compression library
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.oberhumer.com/opensource/lzo/
|
URL: http://www.oberhumer.com/opensource/lzo/
|
||||||
@ -41,13 +41,11 @@ over compression ratio.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --disable-dependency-tracking --disable-static --enable-shared
|
%configure --disable-dependency-tracking --disable-static --enable-shared
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%{__cc} %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
gcc %{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
|
gcc -g -shared -Wl,-z,now -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -58,7 +56,7 @@ install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
|
|||||||
ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make_build check test
|
make check test
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -91,20 +89,5 @@ ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
|||||||
%{_pkgdocdir}
|
%{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.10-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user