Fix incorrect permissions of xerces-j2-samples.jar

Resolves: RHEL-68774
This commit is contained in:
Mikolaj Izdebski 2024-07-22 13:56:51 +02:00
parent 53c41e342a
commit 7e11812e81

View File

@ -2,7 +2,7 @@
Name: xerces-j2
Version: 2.12.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Java XML parser
# Most of the source is ASL 2.0
# W3C licensed files:
@ -170,7 +170,8 @@ install -p -m 644 %{SOURCE11} %{buildroot}%{_mandir}/man1
install -p -m 644 %{SOURCE12} %{buildroot}%{_mandir}/man1
# demo
install -pD -T build/xercesSamples.jar %{buildroot}%{_datadir}/%{name}/%{name}-samples.jar
install -d -m 755 %{buildroot}%{_datadir}/%{name}/
install -p -m 644 build/xercesSamples.jar %{buildroot}%{_datadir}/%{name}/%{name}-samples.jar
cp -pr data %{buildroot}%{_datadir}/%{name}
%post
@ -191,6 +192,9 @@ ln -sf %{name}.jar %{_javadir}/jaxp_parser_impl.jar
%{_datadir}/%{name}
%changelog
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.12.1-11
- Fix incorrect permissions of xerces-j2-samples.jar
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 2.12.1-10
- Add noarch to ExclusiveArch