Re: [libosinfo PATCH 1/7] spec: Switch to %ldconfig_scriptlets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 05, 2019 at 10:37:49AM +0100, Fabiano Fidêncio wrote:
> This commit is bringing upstream the change done on Fedora on
> af0ce7aab60e.

Feature is documented at https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
I'm not sure el7 will have it, but I don't know what we aim to support
with this spec file.

Reviewed-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

> 
> Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
> ---
>  libosinfo.spec.in | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/libosinfo.spec.in b/libosinfo.spec.in
> index fd7e55c..57f8d94 100644
> --- a/libosinfo.spec.in
> +++ b/libosinfo.spec.in
> @@ -79,12 +79,7 @@ then
>    exit 1
>  fi
>  
> -%clean
> -rm -fr %{buildroot}
> -
> -%post -p /sbin/ldconfig
> -
> -%postun -p /sbin/ldconfig
> +%ldconfig_scriptlets
>  
>  %files -f %{name}.lang
>  %defattr(-, root, root)
> -- 
> 2.20.1
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux