diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-11-04 13:38:30 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-11-04 13:38:30 +0100 |
commit | 48b914810291f405fd5ba8e9db9dfab3ccaf906c (patch) | |
tree | df51d615805d20fd43cb66e58d7123abce90a225 /nx-libs.spec | |
parent | 6cd4f12322ffccdbbfa10ce9e282e54a932b995c (diff) | |
parent | 252b86ee23cf110e7aef2c3605c5be7ff1cd5a69 (diff) | |
download | nx-libs-48b914810291f405fd5ba8e9db9dfab3ccaf906c.tar.gz nx-libs-48b914810291f405fd5ba8e9db9dfab3ccaf906c.tar.bz2 nx-libs-48b914810291f405fd5ba8e9db9dfab3ccaf906c.zip |
Merge branch 'uli42-pr/various5' into 3.6.x
Attributes GH PR #963: https://github.com/ArcticaProject/nx-libs/pull/963
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index ddbc16799..7886be14d 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -473,6 +473,11 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans #Remove our shared libraries' .la files before wrapping up the packages rm %{buildroot}%{_libdir}/*.la +# Fix python scripts +%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 || 0%{?py_ver} == 3 +sed -i '1 s/python/python3/' %{buildroot}%{_bindir}/nxdialog +%endif + %if 0%{?fdupes:1} %fdupes %{buildroot}%{_prefix} %endif |