Skip to content

Commit

Permalink
Switch to rpm-py-installer
Browse files Browse the repository at this point in the history
Signed-off-by: Nikola Forró <nforro@redhat.com>
  • Loading branch information
nforro committed Aug 1, 2022
1 parent 52b30d0 commit 9cf34e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions fedora/python-specfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ Summary: %{summary}
%{desc}


%generate_buildrequires
%pyproject_buildrequires -x testing


%prep
%autosetup -p1 -n specfile-%{version}
# Use packaged RPM python bindings downstream
sed -i 's/rpm-py-installer/rpm/' setup.cfg


%generate_buildrequires
%pyproject_buildrequires -x testing


%build
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ packages = find:
install_requires =
arrow
importlib-metadata;python_version<"3.8"
rpm
rpm-py-installer
typing-extensions
python_requires = >=3.6
include_package_data = True
Expand Down

0 comments on commit 9cf34e9

Please sign in to comment.