Remove useless imports and fstrings from build-rpm.py

This commit is contained in:
Alexis Métaireau 2024-08-28 13:51:18 +02:00
parent b375a7e96e
commit d7f80965b1
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -1,11 +1,9 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import argparse import argparse
import inspect
import os import os
import shutil import shutil
import subprocess import subprocess
import tempfile
from pathlib import Path from pathlib import Path
root = Path(__file__).parent.parent.parent root = Path(__file__).parent.parent.parent
@ -98,7 +96,7 @@ def build(build_dir, qubes=False):
if qubes: if qubes:
cmd += [ cmd += [
"--define", "--define",
f"_qubes 1", "_qubes 1",
] ]
subprocess.run(cmd, check=True) subprocess.run(cmd, check=True)