Skip to content

Commit

Permalink
Merge pull request #4641 from jmarrero/python-dep
Browse files Browse the repository at this point in the history
packaging/rpm-ostree: update python3 macros and builddep
  • Loading branch information
jmarrero authored Oct 6, 2023
2 parents cd531fe + 874db69 commit 0bdd4f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packaging/rpm-ostree.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ BuildRequires: rust
%endif

# For the autofiles bits below
BuildRequires: /usr/bin/python3
BuildRequires: python3-devel
# We always run autogen.sh
BuildRequires: autoconf automake libtool git
# For docs
Expand Down Expand Up @@ -205,8 +205,8 @@ for line in sys.argv[1:]:
else:
sys.stderr.write('{0} did not match any files\n'.format(line))
EOF
PYTHON=python3
if ! test -x /usr/bin/python3; then
PYTHON='%{python3}'
if ! test -x '%{python3}'; then
PYTHON=python2
fi
$PYTHON autofiles.py > files \
Expand Down

0 comments on commit 0bdd4f2

Please sign in to comment.