Skip to content

Commit

Permalink
Update rpm spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonkey committed May 23, 2018
1 parent 345191b commit d5e0be9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ make machine=%{_machine}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} bindir=%{_bindir} tooldir=%{_datadir}/jupiter/tools kmoddir=%{_datadir}/jupiter/kmod confdir=/etc/jupiter machine=%{_machine}
make install DESTDIR=%{buildroot} \
bindir=%{_bindir} \
tooldir=%{_datadir}/jupiter/tools \
kmoddir=%{_datadir}/jupiter/kmod \
confdir=%{_sysconfdir}/jupiter \
machine=%{_machine}

%files
%{_bindir}/*
%{_datadir}/jupiter
/etc/jupiter
%config %{_sysconfdir}/jupiter

%post
/sbin/ldconfig
Expand Down

0 comments on commit d5e0be9

Please sign in to comment.