Skip to content

Commit a1fc185

Browse files
committed
distro BUGFIX minor fixes
1 parent 5b9c5c7 commit a1fc185

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

distro/pkg/deb/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Priority: optional
66
Standards-Version: 4.5.0
77
Build-Depends: cmake,
88
debhelper (>= 10),
9-
libpcre2-dev,
9+
libpcre2-dev (>= 10.21),
1010
pkg-config
1111
Vcs-Browser: https://github.com/CESNET/libyang/tree/master
1212
Vcs-Git: https://github.com/CESNET/libyang.git
@@ -28,7 +28,7 @@ Description: parser toolkit for IETF YANG data modeling - runtime
2828
to use in processing configurations.
2929

3030
Package: libyang2-dev
31-
Depends: libpcre2-dev,
31+
Depends: libpcre2-dev (>= 10.21),
3232
libyang2 (= ${binary:Version}),
3333
${misc:Depends}
3434
Conflicts: libyang-dev

distro/pkg/rpm/libyang.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mkdir build
4040
cd build
4141
cmake \
4242
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
43-
-DCMAKE_BUILD_TYPE:String="Package" \
43+
-DCMAKE_BUILD_TYPE:String="Release" \
4444
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
4545
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
4646
..

0 commit comments

Comments
 (0)