Browse Source

[rpm] change if statement to cover fedora 35

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1688/head
R4SAS 3 years ago
parent
commit
af2c6c5575
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 7
      contrib/rpm/i2pd-git.spec
  2. 9
      contrib/rpm/i2pd.spec

7
contrib/rpm/i2pd-git.spec

@ -57,7 +57,7 @@ cd build @@ -57,7 +57,7 @@ cd build
%endif
%if 0%{?fedora} >= 36
%if 0%{?fedora} >= 35
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
@ -82,7 +82,7 @@ popd @@ -82,7 +82,7 @@ popd
%install
pushd build
%if 0%{?fedora} >= 36
%if 0%{?fedora} >= 35
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
@ -146,6 +146,9 @@ getent passwd i2pd >/dev/null || \ @@ -146,6 +146,9 @@ getent passwd i2pd >/dev/null || \
%changelog
* Mon Aug 24 2021 r4sas <r4sas@i2pmail.org> - 2.39.0-2
- changed if statements to cover fedora 35
* Mon Aug 23 2021 orignal <i2porignal@yandex.ru> - 2.39.0
- update to 2.39.0
- fixed build on fedora 36

9
contrib/rpm/i2pd.spec

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
Name: i2pd
Version: 2.39.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: I2P router written in C++
Conflicts: i2pd-git
@ -54,7 +54,7 @@ cd build @@ -54,7 +54,7 @@ cd build
%endif
%endif
%if 0%{?fedora} >= 36
%if 0%{?fedora} >= 35
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
@ -79,7 +79,7 @@ popd @@ -79,7 +79,7 @@ popd
%install
pushd build
%if 0%{?fedora} >= 36
%if 0%{?fedora} >= 35
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
@ -143,6 +143,9 @@ getent passwd i2pd >/dev/null || \ @@ -143,6 +143,9 @@ getent passwd i2pd >/dev/null || \
%changelog
* Mon Aug 24 2021 r4sas <r4sas@i2pmail.org> - 2.39.0-2
- changed if statements to cover fedora 35
* Mon Aug 23 2021 orignal <i2porignal@yandex.ru> - 2.39.0
- update to 2.39.0
- fixed build on fedora 36

Loading…
Cancel
Save