Work around ldconfig bug with libyaml.so (bz1082822)
This commit is contained in:
parent
38cb384d8d
commit
72e1452e35
@ -4,7 +4,7 @@
|
||||
|
||||
Name: libyaml
|
||||
Version: 0.1.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: YAML 1.1 parser and emitter written in C
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -43,6 +43,10 @@ rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} INSTALL="install -p" install
|
||||
rm -f %{buildroot}%{_libdir}/*.{la,a}
|
||||
|
||||
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
|
||||
@ -73,6 +77,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 31 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.6-2
|
||||
- Work around ldconfig bug with libyaml.so (bz1082822)
|
||||
|
||||
* Wed Mar 26 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.6-1
|
||||
- New upstream release 0.1.6 (bz1081492)
|
||||
- Fixes CVE-2014-2525 (bz1078083)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user