Compare commits

...

1 Commits
c8 ... a8

Author SHA1 Message Date
8207d5a456 Fix compilation error 2022-07-04 13:30:48 +03:00

View File

@ -8,7 +8,7 @@
Name: libyang Name: libyang
Version: 1.0.184 Version: 1.0.184
Release: 1%{?dist} Release: 1%{?dist}.alma
Summary: YANG data modeling language library Summary: YANG data modeling language library
Url: https://github.com/CESNET/libyang Url: https://github.com/CESNET/libyang
Source: %{url}/archive/libyang-%{version}.tar.gz Source: %{url}/archive/libyang-%{version}.tar.gz
@ -78,7 +78,6 @@ mkdir build
%build %build
cd build cd build
%cmake \ %cmake \
%{?_smp_mflags} \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_BUILD_TYPE:String="Package" \ -DCMAKE_BUILD_TYPE:String="Package" \
-DENABLE_LYD_PRIV=ON \ -DENABLE_LYD_PRIV=ON \
@ -91,7 +90,7 @@ make doc
%check %check
cd build cd build
ctest --output-on-failure -V %{?_smp_mflags} ctest --output-on-failure -V
%install %install
pushd build pushd build
@ -133,6 +132,9 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
%{python3_sitearch}/__pycache__/yang* %{python3_sitearch}/__pycache__/yang*
%changelog %changelog
* Mon Jul 04 2022 Eduard Abdullin <eabdullin@almalinux.org> - 1.0.184-1.alma
- Remove _smp_mflags
* Thu Jan 07 2021 Michal Ruprich <mruprich@redhat.com> - 1.0.184-1 * Thu Jan 07 2021 Michal Ruprich <mruprich@redhat.com> - 1.0.184-1
- Resolves: #1910046 - [RFE] Rebase libyang to 1.0.184 - Resolves: #1910046 - [RFE] Rebase libyang to 1.0.184