fix writing of _sysconfdir
This commit is contained in:
parent
d85f6b0a84
commit
97f36761c3
6
ghc.spec
6
ghc.spec
@ -147,8 +147,8 @@ 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
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user