use %patch -P N instead of deprecated %patchN

This commit is contained in:
Zuzana Miklankova 2023-08-31 09:49:16 +02:00
parent 12e67c97fb
commit 804185fafb
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0

View File

@ -79,7 +79,7 @@ sed -i '/aws/d' src/test/resources/META-INF/services/org.mariadb.jdbc.plugin.Cre
# also remove the file using the removed plugin
rm -f src/main/java/org/mariadb/jdbc/plugin/authentication/addon/gssapi/WindowsNativeSspiAuthentication.java
# patch the sources so that the missing file is not making trouble
%patch0 -p1
%patch -P 0 -p1
%mvn_file org.mariadb.jdbc:%{name} %{name}
%mvn_alias org.mariadb.jdbc:%{name} mariadb:mariadb-connector-java