Fix spec bug
This commit is contained in:
parent
191d643ef4
commit
b84f0e6abe
@ -1,6 +1,6 @@
|
||||
Name: libyaml
|
||||
Version: 0.2.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A C library for parsing and emitting YAML
|
||||
License: MIT
|
||||
URL: http://pyyaml.org/
|
||||
@ -38,6 +38,10 @@ BuildArch: noarch
|
||||
|
||||
rm -vf %{buildroot}%{_libdir}/*.la
|
||||
|
||||
soname=$(readelf -d %{buildroot}%{_libdir}/libyaml.so | awk '$2 == "(SONAME)" {print $NF}' | tr -d '[]')
|
||||
rm -f %{buildroot}%{_libdir}/libyaml.so
|
||||
echo "INPUT($soname)" > %{buildroot}%{_libdir}/libyaml.so
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
@ -63,5 +67,8 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 18 2020 Leo Fang <leofang_94@163.com> - 0.2.2-2
|
||||
- Fix overwrite the soname symlink bug in spec
|
||||
|
||||
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.2-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user