Upgrade to 2.10

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-04-26 11:23:40 +08:00
parent 08892d351f
commit 0b094c16c4
4 changed files with 12 additions and 28 deletions

BIN
2.9.1

Binary file not shown.

BIN
jdepend-2.10.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>jdepend</groupId>
<artifactId>jdepend</artifactId>
<version>2.9.1</version>
</project>

View File

@ -1,11 +1,10 @@
Name: jdepend
Version: 2.9.1
Release: 23
Version: 2.10
Release: 1
Summary: Java Design Quality Metrics
License: BSD-3-Clause
URL: http://www.clarkware.com/
Source0: http://github.com/clarkware/jdepend/tarball/2.9.1
Source1: https://repo1.maven.org/maven2/jdepend/jdepend/2.9.1/jdepend-2.9.1.pom
Source0: https://github.com/clarkware/jdepend/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: ant java-devel javapackages-local
@ -22,17 +21,10 @@ Summary: Javadoc for jdepend
%description javadoc
This package provides javadoc files for jdepend.
%package demo
Summary: Demos for jdepend
Requires: jdepend = %{version}-%{release}
%description demo
This package provides demonstrations and samples for jdepend.
%package_help
%prep
%setup -q -n clarkware-jdepend-5798059
%setup -q
find . -name "*.jar" -delete
find . -type d -exec chmod 755 {} \;
%mvn_file %{name}:%{name} %{name}
@ -41,25 +33,23 @@ find . -type d -exec chmod 755 {} \;
ant jar javadoc
%install
%mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar
%mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar
%mvn_install -J build/docs/api
rm -rf build/docs/api
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
%files -f .mfiles
%license LICENSE
%doc README.md CHANGELOG.md docs
%license LICENSE.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%files demo
%{_datadir}/jdepend
%license LICENSE.md
%files help
%doc README docs
%doc README.md docs
%changelog
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 2.10-1
- Upgrade to 2.10
* Mon May 9 2022 caodongxia <caodongxia@h-partners.com> - 2.9.1-23
- License compliance rectification