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
Version: 1.0.184
Release: 1%{?dist}
Release: 1%{?dist}.alma
Summary: YANG data modeling language library
Url: https://github.com/CESNET/libyang
Source: %{url}/archive/libyang-%{version}.tar.gz
@ -78,7 +78,6 @@ mkdir build
%build
cd build
%cmake \
%{?_smp_mflags} \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_BUILD_TYPE:String="Package" \
-DENABLE_LYD_PRIV=ON \
@ -91,7 +90,7 @@ make doc
%check
cd build
ctest --output-on-failure -V %{?_smp_mflags}
ctest --output-on-failure -V
%install
pushd build
@ -133,6 +132,9 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
%{python3_sitearch}/__pycache__/yang*
%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
- Resolves: #1910046 - [RFE] Rebase libyang to 1.0.184