From 6019e2c2b795042260859587ac24dada9681ab87 Mon Sep 17 00:00:00 2001 From: Roy Bekken Date: Wed, 5 Aug 2015 23:43:09 +0200 Subject: [PATCH] LP-62 - Implement RPM specfile. - File list should have a default %defattr Directive. This allows non root to build package. --- package/linux/rpmspec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/linux/rpmspec.in b/package/linux/rpmspec.in index b685efee0..78de5e8c1 100644 --- a/package/linux/rpmspec.in +++ b/package/linux/rpmspec.in @@ -74,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT %files +%defattr(-,root,root) %doc README.md CREDITS.txt WHATSNEW.txt %doc GPLv3.txt %{_bindir}/librepilot-gcs @@ -99,3 +100,4 @@ rm -rf $RPM_BUILD_ROOT %changelog +