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

9
contrib/rpm/i2pd.spec

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

Loading…
Cancel
Save