Skip to content

Commit 34659ce

Browse files
committed
distro UPDATE general update
1 parent 68dbc0f commit 34659ce

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

distro/pkg/deb/control

Lines changed: 4 additions & 4 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-
libyang2-dev,
9+
libyang-dev,
1010
libssl-dev (>= 3.0.0),
1111
libssh-dev (>= 0.9.5),
1212
libpam0g-dev,
@@ -15,7 +15,7 @@ Build-Depends: cmake,
1515
Vcs-Browser: https://github.com/CESNET/libnetconf2/tree/master
1616
Vcs-Git: https://github.com/CESNET/libnetconf2.git
1717

18-
Package: libnetconf2
18+
Package: libnetconf4
1919
Depends: ${misc:Depends},
2020
${shlibs:Depends}
2121
Architecture: any
@@ -29,8 +29,8 @@ Description: library implementing NETCONF protocol - runtime
2929
It is implemented in C.
3030

3131
Package: libnetconf2-dev
32-
Depends: libyang2-dev,
33-
libnetconf2 (= ${binary:Version}),
32+
Depends: libyang-dev,
33+
libnetconf4 (= ${binary:Version}),
3434
${misc:Depends}
3535
Section: libdevel
3636
Architecture: any

distro/scripts/make-archive.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#!/bin/bash
22
# create archive from current source using git
33

4-
VERSION=$(git describe --tags --always)
5-
# skip "v" from start of version number (if it exists) and replace - with .
6-
VERSION=${VERSION#v}
7-
VERSION=${VERSION//[-]/.}
4+
VERSION=$(git log --oneline -n1 --grep="^VERSION" | rev | cut -d' ' -f1 | rev)
85

96
NAMEVER=libnetconf2-$VERSION
107
ARCHIVE=$NAMEVER.tar.gz

0 commit comments

Comments
 (0)