diff --git a/ovirt-engine-wildfly.spec b/ovirt-engine-wildfly.spec index bef00bc..eca2638 100644 --- a/ovirt-engine-wildfly.spec +++ b/ovirt-engine-wildfly.spec @@ -2,7 +2,7 @@ Name: ovirt-engine-wildfly Version: 19.1.0 -Release: 2 +Release: 3 Summary: WildFly Application Server for oVirt Engine Group: Virtualization/Management License: Apache 2.0 @@ -11,14 +11,16 @@ Source: https://github.com/wildfly/wildfly/archive/refs/tags/wildfly-19.1.0.Fin BuildRequires: unzip BuildRequires: chrpath +BuildRequires: binutils # Prevent breaking packages that require e.g. libapr-1.so AutoReqProv: no - %description WildFly Application Server for oVirt Engine. +%build +true %install mkdir -p %{buildroot}%{_datadir} @@ -45,17 +47,21 @@ remove_shared_objects linux-x86_64 %endif # Delete the "rpath" of the remaining shared objects: +# Strip the remaining shared objects find \ %{buildroot}%{_datadir}/%{name}/modules/system/layers/base \ -type f \ -name '*.so' \ - -exec chrpath --delete {} \; - + -exec chrpath --delete {} \; \ + -exec strip {} \; %files %{_datadir}/%{name} %changelog -* Sun Sep 26 2021 Ge Wang 19.1.0-1 +* Wed May 24 2023 jiangxinyu - 19.1.0-3 +- Strip shared objects + +* Sun Sep 26 2021 Ge Wang - 19.1.0-1 - Init Package