| |
@@ -24,12 +24,12 @@
|
| |
|
| |
%prep
|
| |
%autosetup -p1 -n %{pypi_name}-%{version}
|
| |
- # setuptools-git is needed to build the source distribution, but not
|
| |
- # for packaging, which *starts* from the source distribution
|
| |
- sed -i -e 's., "setuptools-git"..g' pyproject.toml
|
| |
|
| |
%generate_buildrequires
|
| |
- %pyproject_buildrequires -t
|
| |
+ # setuptools-git is needed to build the source distribution, but not
|
| |
+ # for packaging, which *starts* from the source distribution
|
| |
+ # technically, this is not an API, but we test that piping the output to a subcommand works
|
| |
+ %{pyproject_buildrequires -t} | grep -v setuptools-git
|
| |
|
| |
%build
|
| |
%pyproject_wheel
|
| |
@adamwill - this should allow you to do: