diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 9a8b2ad..240d5bc 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -130,28 +130,28 @@ echo no build stage %install -install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc -install -p -D -m 0644 %{SOURCE6} %{buildroot}/%{macros_dir}/macros.ghc-extra -install -p -D -m 0644 %{SOURCE9} %{buildroot}/%{macros_dir}/macros.ghc-os +install -p -D -m 0644 %{SOURCE0} %{buildroot}%{macros_dir}/macros.ghc +install -p -D -m 0644 %{SOURCE6} %{buildroot}%{macros_dir}/macros.ghc-extra +install -p -D -m 0644 %{SOURCE9} %{buildroot}%{macros_dir}/macros.ghc-os -install -p -D -m 0755 %{SOURCE3} %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh +install -p -D -m 0755 %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/ghc-deps.sh %if 0%{?fedora} || 0%{?rhel} >= 7 -install -p -D -m 0644 %{SOURCE7} %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc.attr +install -p -D -m 0644 %{SOURCE7} %{buildroot}%{_prefix}/lib/rpm/fileattrs/ghc.attr %endif -install -p -D -m 0644 %{SOURCE10} %{buildroot}/%{_datadir}/%{name}/Setup.hs +install -p -D -m 0644 %{SOURCE10} %{buildroot}%{_datadir}/%{name}/Setup.hs -install -p -D -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/cabal-tweak-dep-ver -install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag -install -p -D -m 0755 %{SOURCE11} %{buildroot}/%{_bindir}/cabal-tweak-drop-dep -install -p -D -m 0755 %{SOURCE12} %{buildroot}/%{_bindir}/cabal-tweak-remove-upperbound -install -p -D -m 0755 %{SOURCE8} %{buildroot}/%{_prefix}/lib/rpm/ghc-pkg-wrapper +install -p -D -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/cabal-tweak-dep-ver +install -p -D -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/cabal-tweak-flag +install -p -D -m 0755 %{SOURCE11} %{buildroot}%{_bindir}/cabal-tweak-drop-dep +install -p -D -m 0755 %{SOURCE12} %{buildroot}%{_bindir}/cabal-tweak-remove-upperbound +install -p -D -m 0755 %{SOURCE8} %{buildroot}%{_prefix}/lib/rpm/ghc-pkg-wrapper mkdir -p %{buildroot}%{_docdir}/ghc/html/libraries %if 0%{?rhel} && 0%{?rhel} < 7 -cat >> %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh <> %{buildroot}%{_prefix}/lib/rpm/ghc-deps.sh <