From 5f4d3eb8b4fb151a25e60b1ffd7a161c5a836c10 Mon Sep 17 00:00:00 2001 From: lewie Date: Fri, 20 Sep 2002 23:48:53 +0000 Subject: [PATCH] [project @ 2002-09-20 23:48:53 by lewie] Make sure that permissions on installed files are right by adding `%defattr(-,root,root)' to the `%files' entries. Not a critical patch - Manuel built the rpms as root anyway, but this makes it so that you are not dependent on building the rpm as root. --- ghc/ghc.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghc/ghc.spec.in b/ghc/ghc.spec.in index 85b6048..482dc94 100644 --- a/ghc/ghc.spec.in +++ b/ghc/ghc.spec.in @@ -169,12 +169,15 @@ cd $dir rm -rf $RPM_BUILD_ROOT %files -f rpm-noprof-lib-files +%defattr(-,root,root) %doc %{prefix}/share/doc/ghc-%{version}/ANNOUNCE %doc %{prefix}/share/doc/ghc-%{version}/README %{prefix}/bin/* %files prof -f rpm-prof-lib-files +%defattr(-,root,root) %files doc +%defattr(-,root,root) %doc %{prefix}/share/doc/ghc-%{version}/*.ps %doc %{prefix}/share/doc/ghc-%{version}/html -- 1.7.10.4