forked from pool/libguestfs
- Use _udevrulesdir
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=477
This commit is contained in:
parent
4cfc54c6d8
commit
6020a4096b
@ -8,6 +8,7 @@ Mon Jul 19 01:01:01 UTC 2021 - ohering@suse.de
|
||||
- Remove obsolete 0004-python-include-dirs.patch and related
|
||||
workaround in spec file
|
||||
- Use autosetup
|
||||
- Use _udevrulesdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 10:20:30 UTC 2021 - ohering@suse.de
|
||||
|
@ -43,7 +43,6 @@ Release: 0
|
||||
%define _configure_python --disable-python
|
||||
%define _configure_ruby --disable-ruby
|
||||
|
||||
%define udevrulesdir /usr/lib/udev/rules.d
|
||||
#
|
||||
# use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
|
||||
%define kvm_binary /bin/false
|
||||
@ -602,7 +601,7 @@ build_it %{?_smp_mflags} || build_it
|
||||
%install
|
||||
%makeinstall \
|
||||
INSTALLDIRS=vendor \
|
||||
udevrulesdir=%{udevrulesdir}
|
||||
udevrulesdir=%{_udevrulesdir}
|
||||
find %{buildroot} -ls
|
||||
mkdir -p %{buildroot}/%{_datadir}/guestfs
|
||||
cp -avLt %{buildroot}/%{_datadir}/guestfs \
|
||||
@ -763,7 +762,7 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
|
||||
|
||||
%files -n guestfsd
|
||||
%defattr(-,root,root)
|
||||
%{udevrulesdir}
|
||||
%{_udevrulesdir}
|
||||
%{_sbindir}/guestfsd
|
||||
%{_mandir}/man8/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user