Dominique Leuenberger 12 months ago committed by Git OBS Bridge
commit d69d90a497

@ -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>

@ -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

Loading…
Cancel
Save