mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
rpm: make changes more targeted
This commit is contained in:
parent
82b8c8c68d
commit
77d32f76c2
1 changed files with 7 additions and 5 deletions
|
@ -55,20 +55,22 @@ cd build
|
|||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?mageia}
|
||||
%if 0%{?mageia} > 7
|
||||
pushd build
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
%if 0%{?mageia}
|
||||
popd
|
||||
%else
|
||||
make %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
cd build
|
||||
pushd build
|
||||
|
||||
%if 0%{?mageia}
|
||||
cd build
|
||||
pushd build
|
||||
%endif
|
||||
|
||||
chrpath -d i2pd
|
||||
%{__install} -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd
|
||||
%{__install} -D -m 755 %{_builddir}/%{name}-%{version}/contrib/i2pd.conf %{buildroot}%{_sysconfdir}/i2pd/i2pd.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue