Resolves: #2100938 - libyang FTBFS in rhel-9.1

This commit is contained in:
Michal Ruprich 2022-06-30 10:20:58 +02:00
parent 99d4ac43d9
commit 06d15df512

View File

@ -8,7 +8,7 @@
Name: libyang
Version: 2.0.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: YANG data modeling language library
Url: https://github.com/CESNET/libyang
Source: %{url}/archive/v%{version}.tar.gz
@ -63,12 +63,12 @@ written (and providing API) in C.
%cmake_build
mkdir build
cp ./src/libyang.h ./build/libyang.h
pushd %_target_platform
pushd redhat-linux-build
make doc
popd
%check
pushd %_target_platform
pushd redhat-linux-build
ctest --output-on-failure -V %{?_smp_mflags}
popd
@ -95,6 +95,9 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
%{_docdir}/libyang
%changelog
* Thu Jun 30 2022 Michal Ruprich <mruprich@redhat.com> - 2.0.7-2
- Resolves: #2100938 - libyang FTBFS in rhel-9.1
* Tue Aug 10 2021 Michal Ruprich <mruprich@redhat.com> - 2.0.7-1
- Resolves: #1991915 - Rebase libyang to new version