Replace sed with Xpath
This commit is contained in:
parent
d30b073c48
commit
1979972d64
1 changed files with 4 additions and 1 deletions
|
|
@ -34,7 +34,10 @@ capabilities of MySQL.
|
|||
|
||||
%prep
|
||||
%autosetup -p1 -C
|
||||
sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
|
||||
|
||||
# xmlstarlet ed -L -N pom="http://maven.apache.org/POM/4.0.0" -u "/project/version" -v "8.0.33" src/build/misc/pom.xml
|
||||
%pom_xpath_set 'pom:project/pom:version' %{version} src/build/misc/pom.xml
|
||||
|
||||
# We currently need to disable jboss integration because of missing jboss-common-jdbc-wrapper.jar (built from sources).
|
||||
# See BZ#480154 and BZ#471915 for details.
|
||||
rm -rf src/main/user-impl/java/com/mysql/cj/jdbc/integration/jboss
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue