From 33fca961ac8fb54f621b8c31f1bd2af890a9afe3 Mon Sep 17 00:00:00 2001 From: lixiaoyong Date: Mon, 9 Sep 2024 02:08:03 -0400 Subject: [PATCH] Add %build section --- libyang.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libyang.spec b/libyang.spec index ed8bf2f..ed2f491 100644 --- a/libyang.spec +++ b/libyang.spec @@ -1,6 +1,6 @@ Name: libyang Version: 1.0.184 -Release: 6 +Release: 7 Summary: YANG data modeling language library Url: https://github.com/CESNET/libyang Source: %{url}/archive/%{name}-%{version}.tar.gz @@ -71,6 +71,7 @@ written (and providing API) in C. %prep %autosetup -n %{name}-%{version} -p1 +%build mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ @@ -129,6 +130,9 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html %{python3_sitearch}/__pycache__/yang* %changelog +* Mon Sep 09 2024 lixiaoyong - 1.0.184-7 +- Add %build section + * Tue Mar 07 2023 zhouwenpei - 1.0.184-6 - remove debug_package %{nil} to strip files and provide debug packages -- Gitee