Projects
Factory:RISC-V:Base
libyaml
_service:tar_scm:libyaml.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libyaml.spec of Package libyaml
Name: libyaml Version: 0.2.5 Release: 4 Summary: A C library for parsing and emitting YAML License: MIT URL: http://pyyaml.org/ Source0: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz Patch0: fix-heap-buffer-overflow-in-yaml_emitter_emit_flow_m.patch Patch1: fix-heap-buffer-overflow-error-in-yaml-emitter-emit.patch BuildRequires: gcc %description %{summary}. %package devel Summary: Development files for LibYAML applications Requires: libyaml = %{version}-%{release}, pkgconfig %description devel %{summary}. %package help Summary: Documents for using LibYAML BuildArch: noarch %description help %{summary}. %prep %autosetup -n yaml-%{version} -p1 %build %configure --enable-static=no %make_build %install %make_install 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 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %license License %doc ReadMe.md %{_libdir}/%{name}*.so.* %files devel %defattr(-,root,root) %{_libdir}/%{name}*.so %{_libdir}/pkgconfig/yaml-0.1.pc %{_includedir}/yaml.h %files help %doc doc/html %changelog * Fri Nov 18 2022 chenziyang <chenziyang4@huawei.com> - 0.2.5-4 - Fix heap buffer overflow in yaml_emitter_emit_flow_sequence_item * Mon Apr 18 2022 panxiaohe <panxh.life@foxmail.com> - 0.2.5-3 - fix heap buffer overflow in yaml_emitter_emit_flow_mapping_key * Wed Feb 23 2022 fuanan <fuanan3@h-partners.com> - 0.2.5-2 - fix typo in spec * Mon Jul 27 2020 Hugel <gengqihu1@huawei.com> - 0.2.5-1 - update to 0.2.5 * 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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2