remove ghc-requires from %install and %files
This commit is contained in:
parent
43b24a206d
commit
a60b93f8dd
4
ghc.spec
4
ghc.spec
@ -126,9 +126,6 @@ make DESTDIR=${RPM_BUILD_ROOT} install-docs
|
|||||||
# install rpm macros
|
# install rpm macros
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm
|
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm
|
||||||
cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
|
cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
|
||||||
# rpm script for ghc version deps
|
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm
|
|
||||||
cp -p %{SOURCE3} ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm/ghc-requires
|
|
||||||
|
|
||||||
SRC_TOP=$PWD
|
SRC_TOP=$PWD
|
||||||
rm -f rpm-*-filelist rpm-*.files
|
rm -f rpm-*-filelist rpm-*.files
|
||||||
@ -195,7 +192,6 @@ fi
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sysconfdir}/rpm/macros.ghc
|
%{_sysconfdir}/rpm/macros.ghc
|
||||||
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf
|
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf
|
||||||
%attr(755,root,root) %{_prefix}/lib/rpm/ghc-requires
|
|
||||||
|
|
||||||
%if %{with prof}
|
%if %{with prof}
|
||||||
%files prof -f rpm-prof-filelist
|
%files prof -f rpm-prof-filelist
|
||||||
|
Loading…
Reference in New Issue
Block a user