[Libosinfo] [libosinfo PATCH 2/7] spec: Remove needless use of %defattr

Christophe Fergeau cfergeau at redhat.com
Tue Mar 5 13:48:40 UTC 2019


Related to https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_permissions

Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

On Tue, Mar 05, 2019 at 10:37:50AM +0100, Fabiano Fidêncio wrote:
> This commit is bringing upstream the change done on Fedora on
> 4a678b2f4d59,
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  libosinfo.spec.in | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/libosinfo.spec.in b/libosinfo.spec.in
> index 57f8d94..8dc4d2b 100644
> --- a/libosinfo.spec.in
> +++ b/libosinfo.spec.in
> @@ -82,7 +82,6 @@ fi
>  %ldconfig_scriptlets
>  
>  %files -f %{name}.lang
> -%defattr(-, root, root)
>  %doc AUTHORS ChangeLog COPYING.LIB NEWS README
>  %{_bindir}/osinfo-detect
>  %{_bindir}/osinfo-query
> @@ -94,7 +93,6 @@ fi
>  %{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
>  
>  %files devel
> -%defattr(-, root, root)
>  %doc examples/demo.js
>  %doc examples/demo.py
>  %{_libdir}/%{name}-1.0.so
> @@ -106,7 +104,6 @@ fi
>  %{_datadir}/gtk-doc/html/Libosinfo
>  
>  %files vala
> -%defattr(-, root, root)
>  %{_datadir}/vala/vapi/libosinfo-1.0.vapi
>  
>  %changelog
> -- 
> 2.20.1
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20190305/f833d610/attachment.sig>


More information about the Libosinfo mailing list