diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-05-10 21:35:26 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-05-10 21:35:26 +0200 |
commit | 7919e63aaf97f638d59961ca54a87f975f9c436e (patch) | |
tree | f3aaa2c7f456aa2c66470049a206adb6433a18bb /redhat/core/tdelibs/tdelibs.spec | |
parent | 6783a326d4d2fe5d801183a16243d9f82489f26a (diff) | |
download | tde-packaging-7919e63aaf97f638d59961ca54a87f975f9c436e.tar.gz tde-packaging-7919e63aaf97f638d59961ca54a87f975f9c436e.zip |
RPM: add build scripts for Mageia 9
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/core/tdelibs/tdelibs.spec')
-rw-r--r-- | redhat/core/tdelibs/tdelibs.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/core/tdelibs/tdelibs.spec b/redhat/core/tdelibs/tdelibs.spec index e66e5d75c..3d18d4954 100644 --- a/redhat/core/tdelibs/tdelibs.spec +++ b/redhat/core/tdelibs/tdelibs.spec @@ -148,8 +148,12 @@ BuildRequires: gamin-devel # PCRE support %if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %define with_pcre 1 +%if 0%{?mgaversion} >= 9 +BuildRequires: %{_lib}pcre-devel +%else BuildRequires: pcre-devel %endif +%endif # INOTIFY support %if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} @@ -337,7 +341,7 @@ BuildRequires: file-devel %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} %define with_nm 1 %if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} != 8 +%if 0%{?mgaversion} && 0%{?mgaversion} <= 7 BuildRequires: %{_lib}nm-util-devel %endif %endif |