Don't install Upstart job on Fedora
Also, don't install a nix.conf anymore, it's not needed. http://hydra.nixos.org/build/10775854
This commit is contained in:
parent
6dd1087396
commit
40250f23a0
1 changed files with 3 additions and 4 deletions
|
@ -117,10 +117,6 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
# Specify build users group
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/nix
|
|
||||||
echo "build-users-group = %{nixbld_group}" > $RPM_BUILD_ROOT%{_sysconfdir}/nix/nix.conf
|
|
||||||
|
|
||||||
# make per-user directories
|
# make per-user directories
|
||||||
for d in profiles gcroots;
|
for d in profiles gcroots;
|
||||||
do
|
do
|
||||||
|
@ -138,6 +134,9 @@ cp -p misc/emacs/nix-mode.elc $RPM_BUILD_ROOT%{_emacs_sitelispdir}/
|
||||||
# we ship this file in the base package
|
# we ship this file in the base package
|
||||||
rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc-%{version}/README
|
rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc-%{version}/README
|
||||||
|
|
||||||
|
# Get rid of Upstart job.
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/init
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in a new issue