[libvirt] [PATCH] build: move file deleting action from %files list to %install
Eric Blake
eblake at redhat.com
Thu Jan 10 00:15:30 UTC 2013
On 01/09/2013 05:13 PM, Eric Blake wrote:
> On 01/09/2013 05:18 AM, Yufang Zhang wrote:
>> When building libvirt rpms on rhel5, I got the following error:
>>
>> File must begin with "/": rm
>> File must begin with "/": -f
>> File must begin with "/": $RPM_BUILD_ROOT/etc/sysctl.d/libvirtd
>> Installed (but unpackaged) file(s) found:
>> /etc/sysctl.d/libvirtd
>>
>> It is triggerd by the %files list of libvirt daemon:
>>
>> %if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
>> %config(noreplace) %{_prefix}/lib/sysctl.d/libvirtd.conf
>> %else
>> rm -f $RPM_BUILD_ROOT%{_prefix}/lib/sysctl.d/libvirtd.conf
> ACK with that change, and will push shortly.
And since I recently introduced that bug on v0.10.2-maint as well, I'm
backporting this patch too.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130109/5987732d/attachment-0001.sig>
More information about the libvir-list
mailing list