!38 删除特定仓库设置settings.xml
From: @xieguangyao00 Reviewed-by: @douyiwang Signed-off-by: @douyiwang
This commit is contained in:
commit
56d865b293
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: openjfx
|
Name: openjfx
|
||||||
Version: 11.0.3
|
Version: 11.0.3
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Rich client application platform for Java
|
Summary: Rich client application platform for Java
|
||||||
|
|
||||||
License: GPL v2 with exceptions and BSD
|
License: GPL v2 with exceptions and BSD
|
||||||
@ -40,7 +40,6 @@ Source26: pom-swing.xml
|
|||||||
Source27: pom-swt.xml
|
Source27: pom-swt.xml
|
||||||
Source28: pom-web.xml
|
Source28: pom-web.xml
|
||||||
Source29: build.xml
|
Source29: build.xml
|
||||||
Source30: settings.xml
|
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
|
||||||
@ -96,7 +95,6 @@ find -name '*.class' -delete
|
|||||||
find -name '*.jar' -delete
|
find -name '*.jar' -delete
|
||||||
|
|
||||||
#copy maven files
|
#copy maven files
|
||||||
cp -a %{_sourcedir}/settings.xml .
|
|
||||||
cp -a %{_sourcedir}/pom-*.xml .
|
cp -a %{_sourcedir}/pom-*.xml .
|
||||||
mv pom-openjfx.xml pom.xml
|
mv pom-openjfx.xml pom.xml
|
||||||
|
|
||||||
@ -131,7 +129,7 @@ export CFLAGS="${RPM_OPT_FLAGS}"
|
|||||||
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
||||||
|
|
||||||
# %%mvn_build --skip-javadoc
|
# %%mvn_build --skip-javadoc
|
||||||
mvn install --settings ./settings.xml
|
mvn install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
@ -156,6 +154,9 @@ cp -a modules/javafx.graphics/mvn-lib{decora,javafx_font,javafx_font_freetype,ja
|
|||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 5 2024 xieguangyao00 <xieguangyao@inspur.com> - 11.0.3-7
|
||||||
|
- del settings.xml from source
|
||||||
|
|
||||||
* Wed Jul 21 2021 Noah <hedongbo@huawei.com> - 11.0.3-6
|
* Wed Jul 21 2021 Noah <hedongbo@huawei.com> - 11.0.3-6
|
||||||
- change maven repository to huawei cloud
|
- change maven repository to huawei cloud
|
||||||
|
|
||||||
|
|||||||
13
settings.xml
13
settings.xml
@ -1,13 +0,0 @@
|
|||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
|
||||||
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
|
||||||
<mirrors>
|
|
||||||
<mirror>
|
|
||||||
<id>huaweicloud</id>
|
|
||||||
<mirrorOf>central</mirrorOf>
|
|
||||||
<name>central repo</name>
|
|
||||||
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
||||||
</mirror>
|
|
||||||
</mirrors>
|
|
||||||
</settings>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user