summaryrefslogtreecommitdiffstats
path: root/packaging/rpm
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-17 14:21:15 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-17 14:44:13 +0100
commit3987620f67a6a7f4ae49c4e90711f963ec4aaf12 (patch)
treeb9547384b577270073d3f1a3b71bcc465f6f8904 /packaging/rpm
parent918ec8e325108711d39971b8dafb692996d3c29a (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>
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/agl-cmake-apps-module.spec4
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