Fix incorrect permissions of xerces-j2-samples.jar

Resolves: RHEL-50061
This commit is contained in:
Mikolaj Izdebski 2024-07-22 13:56:51 +02:00
parent 18b6b4d9fb
commit ae3bf758d1

View File

@ -2,7 +2,7 @@
Name: xerces-j2
Version: 2.12.2
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Java XML parser
# Most of the source is ASL 2.0
# W3C licensed files:
@ -158,7 +158,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
@ -179,6 +180,9 @@ ln -sf %{name}.jar %{_javadir}/jaxp_parser_impl.jar
%{_datadir}/%{name}
%changelog
* Tue Jul 30 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.12.2-10
- Fix incorrect permissions of xerces-j2-samples.jar
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.12.2-9
- Bump release for June 2024 mass rebuild