Do not edit source directly before packaging
This commit is contained in:
parent
ca16416d77
commit
ce42bd07df
@ -1,6 +1,6 @@
|
||||
Name: aqute-bnd
|
||||
Version: 3.5.0
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: BND Tool
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/bndtools/bnd/
|
||||
@ -42,8 +42,9 @@ Documentation for aqute-bnd api.
|
||||
%autosetup -n bnd-%{version}.REL -p1
|
||||
rm gradlew*
|
||||
rm biz.aQute.bnd/src/aQute/bnd/main/{RemoteCommand,ResolveCommand}.java
|
||||
sed -i 's/2.4.0/@VERSION@/' %{SOURCE1}
|
||||
sed -i '$d' %{SOURCE1}
|
||||
cp %{SOURCE1} .
|
||||
sed -i 's/2.4.0/@VERSION@/' parent.pom
|
||||
sed -i '$d' parent.pom
|
||||
echo " <modules>
|
||||
<module>aQute.libg</module>
|
||||
<module>biz.aQute.bndlib</module>
|
||||
@ -76,8 +77,8 @@ echo " <modules>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>" >> %{SOURCE1}
|
||||
sed 's/@VERSION@/%{version}/' %SOURCE1 > pom.xml
|
||||
</project>" >> parent.pom
|
||||
sed 's/@VERSION@/%{version}/' parent.pom > pom.xml
|
||||
sed -i 's|${Bundle-Version}|%{version}|' biz.aQute.bndlib/src/aQute/bnd/osgi/bnd.info
|
||||
cd aQute.libg
|
||||
cp -p %{SOURCE2} pom.xml
|
||||
@ -152,6 +153,9 @@ echo "aqute-bnd slf4j/api slf4j/simple osgi-annotation osgi-core osgi-compendium
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 22 2021 lingsheng <lingsheng@huawei.com> - 3.5.0-9
|
||||
- Do not edit source directly before packaging
|
||||
|
||||
* Wed Dec 23 2020 Ge Wang <wangge20@huawei.com> - 3.5.0-8
|
||||
- Modify homepage url and source url
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user