build CHANGE install internal yang modules
diff --git a/distro/pkg/deb/libyang2.install b/distro/pkg/deb/libyang2.install
index 3de3b10..e5f2c1c 100644
--- a/distro/pkg/deb/libyang2.install
+++ b/distro/pkg/deb/libyang2.install
@@ -1 +1,2 @@
 usr/lib/*/*.so.*
+usr/share/yang
diff --git a/distro/pkg/rpm/libyang.spec b/distro/pkg/rpm/libyang.spec
index c6d7251..895567e 100644
--- a/distro/pkg/rpm/libyang.spec
+++ b/distro/pkg/rpm/libyang.spec
@@ -69,6 +69,7 @@
 %license LICENSE
 %{_libdir}/libyang.so.2
 %{_libdir}/libyang.so.2.*
+%dir %{_datadir}/yang/
 
 %files tools
 %{_bindir}/yanglint