Blame debian/README.md

Packit 8fb591
Debian packaging for libyang
Packit 8fb591
============================
Packit 8fb591
Packit 8fb591
This repository contains Debian package files for
Packit 8fb591
[libyang](https://github.com/CESNET/libyang).
Packit 8fb591
Packit 8fb591
Building a release with Debian patches
Packit 8fb591
--------------------------------------
Packit 8fb591
Packit 8fb591
```
Packit 8fb591
git clone https://github.com/opensourcerouting/libyang-debian.git
Packit 8fb591
cd libyang-debian
Packit 8fb591
dpkg-buildpackage -uc -us
Packit 8fb591
```
Packit 8fb591
Packit 8fb591
Building a proper Debian source and package
Packit 8fb591
-------------------------------------------
Packit 8fb591
Packit 8fb591
```
Packit 8fb591
git clone https://github.com/opensourcerouting/libyang-debian.git
Packit 8fb591
dpkg-source -b libyang-debian
Packit 8fb591
dpkg-source -x *.dsc
Packit 8fb591
cd libyang-0*
Packit 8fb591
debuild
Packit 8fb591
```
Packit 8fb591
Packit 8fb591
You can also use `cowbuilder` or `reprotest` on the dsc file directly.
Packit 8fb591
Packit 8fb591
Packit 8fb591
Maintainer Notes
Packit 8fb591
================
Packit 8fb591
Packit 8fb591
* the project version number is actually the SO ABI version.
Packit 8fb591
Packit 8fb591
* it's intentional that the SONAME is libyang.so.0.16 and not libyang.so.0.
Packit 8fb591
  ABI compatibility is indicated by the first two numbers being equal;
Packit 8fb591
  the third number is incremented for compatible changes.  cf.
Packit 8fb591
  CESNET/libyang#656
Packit 8fb591
Packit 8fb591
* the watch file doesn't work yet but the libyang people agreed to make
Packit 8fb591
  future release tags the same as the internal version number.  At that point
Packit 8fb591
  the watch file will work.
Packit 8fb591
Packit 8fb591
* python3-yang-dbg follows the recommendations from
Packit 8fb591
  https://wiki.debian.org/Python/LibraryStyleGuide#Building_python_-dbg_packages