Skip to content
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

peckpeck
Copy link
Member

@peckpeck peckpeck commented Jan 6, 2017

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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

Copy link
Member

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
Copy link
Member

@amousset amousset Jan 6, 2017

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

@peckpeck
Copy link
Member Author

peckpeck commented Jan 6, 2017

Commit modified

@peckpeck peckpeck force-pushed the arch_9919/use_suse_version_instead_of_sles_version_during_build branch from 3afb82d to dbacc79 Compare January 6, 2017 16:58
@peckpeck
Copy link
Member Author

peckpeck commented Jan 6, 2017

Commit modified

@peckpeck peckpeck force-pushed the arch_9919/use_suse_version_instead_of_sles_version_during_build branch from dbacc79 to 4817db5 Compare January 6, 2017 17:04
@peckpeck
Copy link
Member Author

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
Copy link
Member

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?

@peckpeck
Copy link
Member Author

Commit modified

@peckpeck peckpeck force-pushed the arch_9919/use_suse_version_instead_of_sles_version_during_build branch from 4817db5 to 45322cd Compare January 18, 2017 10:03
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 45322cd into Normation:branches/rudder/4.1 Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants