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