New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #9919: use suse_version instead of sles_version during build #1180
Conversation
@@ -144,12 +144,12 @@ Requires: dmidecode | |||
|
|||
## 3 - SLES: No LMDB yet | |||
# Reference for suse_version : https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto | |||
%if 0%{?suse_version} && 0%{?suse_version} < 1140 | |||
%if 0%{?suse_version} && 0%{?suse_version} < 1200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is < 1200 (strictly inferior to 12) the old value was inferior to 1315
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but it's not what we want for opensuse 11.4 at least
## | ||
%if 0%{?sles_version} && 0%{?sles_version} < 11 | ||
# Reference for suse_version : https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto | ||
%if 0%{?suse_version} && 0%{?suse_version} < 1200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to use system openssl onSLES11 too
Commit modified |
3afb82d
to
dbacc79
Compare
Commit modified |
dbacc79
to
4817db5
Compare
ping @amousset |
@@ -145,7 +145,8 @@ dos2unix doc/*.html | |||
|
|||
%build | |||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall" | |||
%if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
< 1030 does not match SELS 10 SP3, this changes the behavior on it (which is IIRC our only supported SLES 10). Is it intended?
Commit modified |
4817db5
to
45322cd
Compare
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/9919