diff --git a/aqute-bnd.spec b/aqute-bnd.spec index a04cfbd..20cb215 100644 --- a/aqute-bnd.spec +++ b/aqute-bnd.spec @@ -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 " aQute.libg biz.aQute.bndlib @@ -76,8 +77,8 @@ echo " -" >> %{SOURCE1} -sed 's/@VERSION@/%{version}/' %SOURCE1 > pom.xml +" >> 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 - 3.5.0-9 +- Do not edit source directly before packaging + * Wed Dec 23 2020 Ge Wang - 3.5.0-8 - Modify homepage url and source url