|
|
|
@ -1,18 +1,17 @@
|
|
|
|
|
%define tarballname yaml
|
|
|
|
|
|
|
|
|
|
#====================================================================#
|
|
|
|
|
|
|
|
|
|
Name: libyaml
|
|
|
|
|
Version: 0.2.5
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.1.7
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: YAML 1.1 parser and emitter written in C
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/yaml/libyaml
|
|
|
|
|
Source0: https://github.com/yaml/libyaml/releases/download/%{version}/yaml-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
URL: http://pyyaml.org/
|
|
|
|
|
Source0: http://pyyaml.org/download/libyaml/%{tarballname}-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
YAML is a data serialization format designed for human readability and
|
|
|
|
@ -22,7 +21,8 @@ emitter written in C.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for LibYAML applications
|
|
|
|
|
Requires: libyaml%{?_isa} = %{version}-%{release}, pkgconfig
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: libyaml = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -31,16 +31,17 @@ developing applications that use LibYAML.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n yaml-%{version}
|
|
|
|
|
%setup -q -n %{tarballname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
%make_build all html
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
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 '[]')
|
|
|
|
@ -56,8 +57,8 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license License
|
|
|
|
|
%doc ReadMe.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%{_libdir}/%{name}*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -69,70 +70,8 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.5-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.5-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 1 2020 John Eckersberg <jeckersb@redhat.com> - 0.2.5-4
|
|
|
|
|
- Add BuildRequires for make
|
|
|
|
|
(re: https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.2.5-2
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Tue Jun 2 2020 John Eckersberg <eck@redhat.com> - 0.2.5-1
|
|
|
|
|
- New upstream release (rhbz#1842769)
|
|
|
|
|
|
|
|
|
|
* Sun Apr 19 2020 John Eckersberg <eck@redhat.com> - 0.2.4-1
|
|
|
|
|
- New upstream release (rhbz#1825622)
|
|
|
|
|
- Fixes document end before directive (rhbz#1824226)
|
|
|
|
|
|
|
|
|
|
* Mon Apr 13 2020 John Eckersberg <eck@redhat.com> - 0.2.3-1
|
|
|
|
|
- New upstream release (rhbz#1823108)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 26 2019 John Eckersberg <eck@redhat.com> - 0.2.2-1
|
|
|
|
|
- New upstream release (rhbz#1692750)
|
|
|
|
|
|
|
|
|
|
* Tue Feb 5 2019 John Eckersberg <eck@redhat.com> - 0.2.1-5
|
|
|
|
|
- Add patch: Revert removing of open_ended after top level plain scalar (rhbz#1672670)
|
|
|
|
|
|
|
|
|
|
* Tue Feb 5 2019 John Eckersberg <eck@redhat.com> - 0.2.1-4
|
|
|
|
|
- Add patch: Don't emit document-end marker at the end of stream (rhbz#1672670)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 7 2018 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
|
|
|
|
- rebuild against fixed binutils to fix missing symbols (#1613350)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 16 2018 John Eckersberg <eck@redhat.com> - 0.2.1-1
|
|
|
|
|
- New upstream release 0.2.1 (rhbz#1598611)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 16 2018 John Eckersberg <eck@redhat.com> - 0.1.7-8
|
|
|
|
|
- Add BuildRequires for gcc
|
|
|
|
|
See: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.1.7-5
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-5
|
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|