Browse Source

add fedora copr mageia support

pull/1274/head
R4SAS 6 years ago
parent
commit
42b556574f
  1. 3
      contrib/rpm/i2pd-git.spec
  2. 3
      contrib/rpm/i2pd.spec

3
contrib/rpm/i2pd-git.spec

@ -55,6 +55,9 @@ make %{?_smp_mflags}
%install %install
cd build cd build
%if 0%{?mageia}
cd build
%endif
chrpath -d i2pd chrpath -d i2pd
%{__install} -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd %{__install} -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd
%{__install} -D -m 755 %{_builddir}/%{name}-%{version}/contrib/i2pd.conf %{buildroot}%{_sysconfdir}/i2pd/i2pd.conf %{__install} -D -m 755 %{_builddir}/%{name}-%{version}/contrib/i2pd.conf %{buildroot}%{_sysconfdir}/i2pd/i2pd.conf

3
contrib/rpm/i2pd.spec

@ -53,6 +53,9 @@ make %{?_smp_mflags}
%install %install
cd build cd build
%if 0%{?mageia}
cd build
%endif
chrpath -d i2pd chrpath -d i2pd
install -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd install -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd
install -D -m 755 %{_builddir}/%{name}-%{version}/contrib/i2pd.conf %{buildroot}%{_sysconfdir}/i2pd/i2pd.conf install -D -m 755 %{_builddir}/%{name}-%{version}/contrib/i2pd.conf %{buildroot}%{_sysconfdir}/i2pd/i2pd.conf

Loading…
Cancel
Save