forked from pool/libguestfs
- Remove BuildRoot and defattr
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=478
This commit is contained in:
parent
6020a4096b
commit
b4892d1cff
@ -9,6 +9,7 @@ Mon Jul 19 01:01:01 UTC 2021 - ohering@suse.de
|
||||
workaround in spec file
|
||||
- Use autosetup
|
||||
- Use _udevrulesdir
|
||||
- Remove BuildRoot and defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 10:20:30 UTC 2021 - ohering@suse.de
|
||||
|
@ -137,7 +137,6 @@ BuildRequires: gtk2-devel
|
||||
%endif
|
||||
#
|
||||
URL: http://libguestfs.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Compatibility package for guestfs-tools
|
||||
# Upstream patches
|
||||
License: GPL-2.0-only
|
||||
@ -678,11 +677,9 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
%postun -n libguestfs0 -p /sbin/ldconfig
|
||||
|
||||
%files test
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/guestfs
|
||||
|
||||
%files -n guestfs-data
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/guestfs
|
||||
%dir %{_libdir}/guestfs/supermin.d
|
||||
%{_libdir}/guestfs/supermin.d/base.tar.gz
|
||||
@ -695,12 +692,10 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
%{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz
|
||||
|
||||
%files -n guestfs-winsupport
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/guestfs/supermin.d/zz-*winsupport*
|
||||
|
||||
%if %{with ocaml_bindings}
|
||||
%files -n ocaml-libguestfs
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/guestfs
|
||||
%{_libdir}/ocaml/guestfs/META
|
||||
@ -709,7 +704,6 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
%{_libdir}/ocaml/stublibs
|
||||
|
||||
%files -n ocaml-libguestfs-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/guestfs
|
||||
%{_libdir}/ocaml/guestfs/*.a
|
||||
@ -720,7 +714,6 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
#
|
||||
%if %{with lua_bindings}
|
||||
%files -n lua-libguestfs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lua
|
||||
%endif
|
||||
#
|
||||
@ -730,29 +723,24 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
%postun -n perl-Sys-Guestfs -p /sbin/ldconfig
|
||||
|
||||
%files -n perl-Sys-Guestfs -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%endif
|
||||
#
|
||||
%if %{with python_bindings}
|
||||
|
||||
%files -n python3-libguestfs
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/*
|
||||
%endif
|
||||
#
|
||||
%if %{with ruby_bindings}
|
||||
%files -n rubygem-libguestfs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/ruby
|
||||
%endif
|
||||
|
||||
%files -n libguestfs0
|
||||
%defattr(-,root,root)
|
||||
%license COPYING.LIB
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_includedir}/guestfs.h
|
||||
@ -761,13 +749,11 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files -n guestfsd
|
||||
%defattr(-,root,root)
|
||||
%{_udevrulesdir}
|
||||
%{_sbindir}/guestfsd
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files -n guestfs-tools -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{_sbindir}/libguestfs-make-fixed-appliance
|
||||
%{_bindir}/*
|
||||
|
Loading…
Reference in New Issue
Block a user