diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-17 14:21:15 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-17 14:44:13 +0100 |
commit | 3987620f67a6a7f4ae49c4e90711f963ec4aaf12 (patch) | |
tree | b9547384b577270073d3f1a3b71bcc465f6f8904 | |
parent | 918ec8e325108711d39971b8dafb692996d3c29a (diff) |
Tiny fix about packaging for openSUSE distribution
For some reasons Suse don't use the same doc directory and add a
subdirectory package to the default path so rpmbuild expects files
in /usr/share/doc/packages instead of /usr/share/doc...
Change-Id: I927b81bb99294dde53eab4957daedc2f3d0d3ae8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | packaging/rpm/agl-cmake-apps-module.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/rpm/agl-cmake-apps-module.spec b/packaging/rpm/agl-cmake-apps-module.spec index 3124f97..4d382aa 100644 --- a/packaging/rpm/agl-cmake-apps-module.spec +++ b/packaging/rpm/agl-cmake-apps-module.spec @@ -42,9 +42,9 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr .. %files %defattr(-,root,root) %dir %{_datadir}/cmake/Modules/ -%dir %{_defaultdocdir}/CMakeAfbTemplates/ +%dir %{_datadir}/doc/CMakeAfbTemplates/ %{_datadir}/cmake/Modules/* -%{_defaultdocdir}/CMakeAfbTemplates/* +%{_datadir}/doc/CMakeAfbTemplates/* %changelog * Wed Dec 12 2018 Romain |