SHA256
1
0
forked from pool/jdepend

Accepting request 983619 from Java:packages

minor spec cleanup

OBS-URL: https://build.opensuse.org/request/show/983619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jdepend?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2022-06-19 19:10:31 +00:00 committed by Git OBS Bridge
commit 5cc37f5003
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 18 18:38:40 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Clean-up the spec file
-------------------------------------------------------------------
Sat Mar 19 21:48:11 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -59,7 +59,7 @@ This package contains demonstration and sample files for JDepend.
find . -name "*.jar" -exec rm -f {} \;
%build
%ant \
%{ant} \
-Dant.build.javac.source=1.8 \
-Dant.build.javac.target=1.8 \
jar
@ -81,8 +81,9 @@ install -d -m 755 %{buildroot}%{_datadir}/%{name}
cp -pr sample %{buildroot}%{_datadir}/%{name}
%files
%attr(644, root, root) %license LICENSE.md
%attr(644, root, root) %doc CHANGELOG.md README.md
%defattr(0644,root,root,0755)
%license LICENSE.md
%doc CHANGELOG.md README.md
%{_javadir}/*
%{_mavenpomdir}/*
%if %{defined _maven_repository}
@ -92,6 +93,7 @@ cp -pr sample %{buildroot}%{_datadir}/%{name}
%endif
%files demo
%attr(644, root, root) %{_datadir}/%{name}
%defattr(0644,root,root,0755)
%{_datadir}/%{name}
%changelog