Update Java source/target to 1.8
Also fix unexpected permissions of regular files. Resolves: RHEL-68781 Resolves: RHEL-68782
This commit is contained in:
parent
9a6a92c645
commit
77c7db94f1
@ -30,7 +30,7 @@
|
||||
|
||||
Name: jdepend
|
||||
Version: 2.9.1
|
||||
Release: 31%{?dist}
|
||||
Release: 32%{?dist}
|
||||
Summary: Java Design Quality Metrics
|
||||
License: BSD
|
||||
URL: http://www.clarkware.com/
|
||||
@ -69,11 +69,12 @@ Demonstrations and samples for %{name}.
|
||||
find . -name "*.jar" -delete
|
||||
# fix strange permissions
|
||||
find . -type d -exec chmod 755 {} \;
|
||||
find . -type f -exec chmod 644 {} \;
|
||||
|
||||
%mvn_file %{name}:%{name} %{name}
|
||||
|
||||
%build
|
||||
ant jar javadoc
|
||||
%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
|
||||
|
||||
%install
|
||||
%mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar
|
||||
@ -94,6 +95,10 @@ cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.9.1-32
|
||||
- Update Java source/target to 1.8
|
||||
- Fix unexpected permissions of regular files
|
||||
|
||||
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 2.9.1-31
|
||||
- Add noarch to ExclusiveArch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user