Comments (7)
This should break it on leap which has readline5-devel no?
from mysql-packaging.
On 2015-11-17 11:00:35 -0800, Tomáš Chvátal wrote:
This should break it on leap which has readline5-devel no?
it actually succeeds but it will use libedit. I needed builds for sle12
to get the exec fix fir mysql_start().
darix
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
from mysql-packaging.
from mysql-packaging.
tbh i would be interested in a matrix for "which readline library do you want to use on which target"
from mysql-packaging.
This should even work on sle11
Index: mariadb-101.spec
===================================================================
--- mariadb-101.spec (revision 43)
+++ mariadb-101.spec (working copy)
@@ -128,8 +128,12 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
# On mariadb we want readline5 and on mysql we use libedit from system
-%if "%{name}" == "mariadb" && (0%{?suse_version} != 1315)
+%if ("%{name}" == "mariadb" ) && ! (( 0%{?suse_version} == 1315 ) && ( ! 0%{?is_opensuse} ))
+%if 0%{?suse_version} >= 1310
BuildRequires: readline5-devel
+%else
+BuildRequires: readline-devel
+%endif
%else
BuildRequires: libedit-devel
%endif
from mysql-packaging.
It should be like that (for mysql-packaging git)
Product | Library |
---|---|
SLE12 | libedit |
13.1 | readline5 |
13.2 | readline5 |
Factory | readline5 |
Leap | readline5 |
As we are not interested in SLE11 here I would simplify the condition to:
%{?systemd_requires}
# On mariadb we want readline5 and on mysql we use libedit from system
-%if "%{name}" == "mariadb" && (0%{?suse_version} != 1315)
+%if ("%{name}" == "mariadb" ) && ! (( 0%{?suse_version} == 1315 ) && ( ! 0%{?is_opensuse} ))
BuildRequires: readline5-devel
%else
BuildRequires: libedit-devel
%endif
from mysql-packaging.
Submitted by cc5b28e
Closing.
from mysql-packaging.
Related Issues (9)
- mysql-systemd-helper should not use --group parameter for mysqld
- mysql-systemd-helper: Can't secure tmp dir '/var/tmp/mysql-protected....' HOT 1
- Split %cmake options for mariadb and mysql HOT 1
- Wait longer during startup, if mysqld is still running HOT 2
- MySQL 5.7 does not compile with libwrap support on Tumbleweed HOT 7
- systemd reqeuirements clarification HOT 1
- Please move charset files HOT 1
- GID for the mysql group is not fixed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql-packaging.