We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a spec file contains autosetup in the prep section, the -p1 flag needs to be appended to allow git formatted patches to be applied.
The text was updated successfully, but these errors were encountered:
if using rdopkg patch to add patches and the following modification is required to make patches apply
-%autosetup -n %{pypi_name}-%{upstream_version} +%autosetup -n %{pypi_name}-%{upstream_version} -p1
if -S git is present -p1 is not needed
Sorry, something went wrong.
There are currently sanity checks that fail rdopkg patch/new-version on certain .spec errors, see specfile.sanity_check.
rdopkg patch/new-version
.spec
So adding sanity_check_autosetup there would be simplest way to prevent this error without touching the .spec too much.
sanity_check_autosetup
In order for automated fixing of stuff, some work on a streamlined and reausable solution is needed as described in #115.
No branches or pull requests
If a spec file contains autosetup in the prep section, the -p1 flag needs to be appended to allow git formatted patches to be applied.
The text was updated successfully, but these errors were encountered: