fix writing of _sysconfdir

epel9
Jens Petersen 17 years ago
parent d85f6b0a84
commit 97f36761c3

@ -147,9 +147,9 @@ cp libraries/*.html ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-%{version}/libraries
%endif %endif
# install rpm macros # install rpm macros
mkdir -p ${RPM_BUILD_ROOT}/%{_systemconfdir}/rpm/macros.ghc mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_systemconfdir}/rpm/macros.ghc cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
SRC_TOP=$PWD SRC_TOP=$PWD
rm -f rpm-*-filelist rpm-*.files rm -f rpm-*-filelist rpm-*.files
( cd $RPM_BUILD_ROOT ( cd $RPM_BUILD_ROOT
@ -202,7 +202,7 @@ fi
%doc ANNOUNCE HACKING LICENSE README %doc ANNOUNCE HACKING LICENSE README
%doc %{_mandir}/man1/ghc.* %doc %{_mandir}/man1/ghc.*
%{_bindir}/* %{_bindir}/*
%{_systemconfdir}/rpm/macros.ghc %{_sysconfdir}/rpm/macros.ghc
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf %config(noreplace) %{_libdir}/ghc-%{version}/package.conf
%ghost %{_libdir}/ghc-%{version}/package.conf.old %ghost %{_libdir}/ghc-%{version}/package.conf.old

Loading…
Cancel
Save