modify source url
This commit is contained in:
parent
78be4f4942
commit
0c06743222
BIN
3.5.0.REL.tar.gz
BIN
3.5.0.REL.tar.gz
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
Name: aqute-bnd
|
||||
Version: 3.5.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: BND Tool
|
||||
License: ASL 2.0
|
||||
URL: http://bnd.bndtools.org/
|
||||
Source0: %{version}.REL.tar.gz
|
||||
Source1: parent.pom
|
||||
URL: https://github.com/bndtools/bnd/
|
||||
Source0: https://github.com/bndtools/bnd/archive/%{version}.REL.tar.gz
|
||||
Source1: https://repo1.maven.org/maven2/biz/aQute/bnd/parent/2.4.0/parent-2.4.0.pom#/parent.pom
|
||||
Source2: https://repo1.maven.org/maven2/biz/aQute/bnd/aQute.libg/%{version}/aQute.libg-%{version}.pom
|
||||
Source3: https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.bnd/%{version}/biz.aQute.bnd-%{version}.pom
|
||||
Source4: https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/%{version}/biz.aQute.bndlib-%{version}.pom
|
||||
@ -42,6 +42,41 @@ 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}
|
||||
echo " <modules>
|
||||
<module>aQute.libg</module>
|
||||
<module>biz.aQute.bndlib</module>
|
||||
<module>biz.aQute.bnd</module>
|
||||
<module>biz.aQute.bnd.annotation</module>
|
||||
<module>maven</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/packageinfo</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.5.1</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>" >> %{SOURCE1}
|
||||
sed 's/@VERSION@/%{version}/' %SOURCE1 > pom.xml
|
||||
sed -i 's|${Bundle-Version}|%{version}|' biz.aQute.bndlib/src/aQute/bnd/osgi/bnd.info
|
||||
cd aQute.libg
|
||||
@ -117,6 +152,9 @@ echo "aqute-bnd slf4j/api slf4j/simple osgi-annotation osgi-core osgi-compendium
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Wed Dec 23 2020 Ge Wang <wangge20@huawei.com> - 3.5.0-8
|
||||
- Modify homepage url and source url
|
||||
|
||||
* Sat Sep 12 2020 yanan li <liyanan032@huawei.com> - 3.5.0-7
|
||||
- fix build fail
|
||||
|
||||
|
||||
34
parent.pom
34
parent.pom
@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>biz.aQute.bnd</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>@VERSION@</version>
|
||||
<version>2.4.0</version>
|
||||
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@ -163,36 +163,4 @@
|
||||
<developerConnection>scm:git:ssh://github.com/bndtools/bnd.git</developerConnection>
|
||||
</scm>
|
||||
|
||||
<modules>
|
||||
<module>aQute.libg</module>
|
||||
<module>biz.aQute.bndlib</module>
|
||||
<module>biz.aQute.bnd</module>
|
||||
<module>biz.aQute.bnd.annotation</module>
|
||||
<module>maven</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/packageinfo</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.5.1</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user