From 97f36761c3a014cada6d36dd1924168ad7b9e024 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 17 Sep 2008 07:11:56 +0000 Subject: [PATCH] fix writing of _sysconfdir --- ghc.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghc.spec b/ghc.spec index f6c5a7a..9af74aa 100644 --- a/ghc.spec +++ b/ghc.spec @@ -147,9 +147,9 @@ cp libraries/*.html ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-%{version}/libraries %endif # install rpm macros -mkdir -p ${RPM_BUILD_ROOT}/%{_systemconfdir}/rpm/macros.ghc -cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_systemconfdir}/rpm/macros.ghc - +mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc +cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc + SRC_TOP=$PWD rm -f rpm-*-filelist rpm-*.files ( cd $RPM_BUILD_ROOT @@ -202,7 +202,7 @@ fi %doc ANNOUNCE HACKING LICENSE README %doc %{_mandir}/man1/ghc.* %{_bindir}/* -%{_systemconfdir}/rpm/macros.ghc +%{_sysconfdir}/rpm/macros.ghc %config(noreplace) %{_libdir}/ghc-%{version}/package.conf %ghost %{_libdir}/ghc-%{version}/package.conf.old