diff --git a/jdepend.changes b/jdepend.changes index 14c0e57..1d8e3b5 100644 --- a/jdepend.changes +++ b/jdepend.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 18 18:38:40 UTC 2022 - Fridrich Strba + +- Clean-up the spec file + ------------------------------------------------------------------- Sat Mar 19 21:48:11 UTC 2022 - Fridrich Strba diff --git a/jdepend.spec b/jdepend.spec index b55a798..4e6534f 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -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