From: lewie Date: Fri, 20 Sep 2002 23:48:53 +0000 (+0000) Subject: [project @ 2002-09-20 23:48:53 by lewie] X-Git-Tag: Approx_11550_changesets_converted~1651 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5f4d3eb8b4fb151a25e60b1ffd7a161c5a836c10;p=ghc-hetmet.git [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. --- 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