modify the duplicate of Source3 instead of itself
This commit is contained in:
parent
83928eec0e
commit
617d9b05c3
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: findbugs
|
Name: findbugs
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 17
|
Release: 18
|
||||||
Summary: Find Bugs in Java Programs
|
Summary: Find Bugs in Java Programs
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://findbugs.sourceforge.net/
|
URL: http://findbugs.sourceforge.net/
|
||||||
@ -63,7 +63,8 @@ Provide additional tools for use with findbugs. See README.openEuler for more in
|
|||||||
install -p %{SOURCE2} README.tools
|
install -p %{SOURCE2} README.tools
|
||||||
find lib -name ".jar" -exec rm {} \;
|
find lib -name ".jar" -exec rm {} \;
|
||||||
find src/gui/edu/umd/cs/findbugs/gui2 -name "OSXAdapter.java" -exec rm {} \;
|
find src/gui/edu/umd/cs/findbugs/gui2 -name "OSXAdapter.java" -exec rm {} \;
|
||||||
%pom_remove_dep com.apple:AppleJavaExtensions %{SOURCE3}
|
cp %{SOURCE3} ./
|
||||||
|
%pom_remove_dep com.apple:AppleJavaExtensions findbugs-3.0.1.pom
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant docs build
|
ant docs build
|
||||||
@ -109,8 +110,8 @@ done
|
|||||||
rm -f build/doc/manual*.xml build/doc/manual*.xsl
|
rm -f build/doc/manual*.xml build/doc/manual*.xsl
|
||||||
|
|
||||||
sed -i 's/3\.0\.0/3\.0\.1/g' %{SOURCE4} %{SOURCE6}
|
sed -i 's/3\.0\.0/3\.0\.1/g' %{SOURCE4} %{SOURCE6}
|
||||||
sed -i '/<parent>/,/<\/parent>/d' %{SOURCE3}
|
sed -i '/<parent>/,/<\/parent>/d' findbugs-3.0.1.pom
|
||||||
cp %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
cp findbugs-3.0.1.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
cp %{SOURCE4} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-annotations.pom
|
cp %{SOURCE4} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-annotations.pom
|
||||||
cp %{SOURCE6} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.ant-ant-%{name}.pom
|
cp %{SOURCE6} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.ant-ant-%{name}.pom
|
||||||
|
|
||||||
@ -143,6 +144,9 @@ end
|
|||||||
%{_javadir}/findbugs-tools.jar
|
%{_javadir}/findbugs-tools.jar
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 10 2021 chengzihan <chengzihan2@huawei.com> - 3.0.1-18
|
||||||
|
- modify the duplicate of Source3 instead of itself
|
||||||
|
|
||||||
* Fri Sep 04 2020 yaokai <yaokai13@huawei.com> - 3.0.1-17
|
* Fri Sep 04 2020 yaokai <yaokai13@huawei.com> - 3.0.1-17
|
||||||
- Remove parent tag in pom file
|
- Remove parent tag in pom file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user