Many thanks, now it works.
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedo
thanks for your answer, but there a new error message:
/home/martin/rpmbuild/BUILDROOT/mlt-freeworld-6.12.0-1.fc29.x86_64/usr/bin/melt
+ grep -vP 'mlt/avformat|libmltavformat.so'
+ find /home/martin/rpmbuild/BUILDROOT/mlt-freeworld-6.12.0-1.fc29.x86_64 -type
f -print0
+ xargs -0 rm
rm: cannot rem
Oh, and I think the grep will also have to be tweaked with a -z to take
the null termination into account:
find %{buildroot} -type f -print0 | grep -vPz
"mlt/avformat|libmltavformat.so" | xargs -0 rm
On 29/11/2018 14:21, J. Randall Owens wrote:
> There are spaces in the file names, so it sees som
There are spaces in the file names, so it sees something like "Ut Video"
and xargs parses it as meaning "Ut" and "Video". Easiest way to fix it
is probably to change the paths to be null-terminated, by adding -print0
to the find and -0 to the xargs, like so:
find %{buildroot} -type f -print0 | gre
Hi,
want to compile new mlt-freeworld-6.12.0 [1], but it fails in the %install
section
...
%install
%make_install
#before remove it print it to check with main mlt package
find %{buildroot} | grep -vP "mlt/avformat|libmltavformat.so"
# remove all execept avformat (ffmpeg part)
find %{buildroot}