Skip to content

Commit

Permalink
#1568 / #1891: prevent unhelpful fedora python shebang mangling
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19812 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 2, 2018
1 parent 22b2a82 commit c4cab74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpmbuild/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
#we never want to depend on proprietary nvidia bits:
%global __requires_exclude ^libnvidia-.*\\.so.*$

# Python permits the !/usr/bin/python shebang for scripts that are cross
# compatible between python2 and python3, but Fedora 28 does not. Fedora
# wants us to choose python3 for cross-compatible scripts. Since we want
# to support python2 and python3 users, exclude our scripts from Fedora 28's
# RPM build check, so that we don't get a bunch of build warnings.
%global __brp_mangle_shebangs_exclude_from xpraforwarder|auth_dialog|xdg-open


# centos / rhel 7.2 onwards
Expand Down

0 comments on commit c4cab74

Please sign in to comment.