More filelist fixes
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=123
This commit is contained in:
parent
b1c5f830c7
commit
fbdc1e32e6
@ -213,6 +213,10 @@ cd ..
|
||||
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
|
||||
%endif
|
||||
|
||||
# Docs
|
||||
mv %{buildroot}/usr/docs/llvm/html %{buildroot}/usr/share/doc/packages/llvm-doc/
|
||||
rm -rf %{buildroot}/usr/docs/
|
||||
|
||||
# cleanup
|
||||
file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
||||
file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
||||
@ -377,8 +381,6 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.*
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/%{name}-config
|
||||
%dir %{_datadir}/llvm/
|
||||
%{_datadir}/llvm/*
|
||||
%doc %{_mandir}/man1/%{name}-config.1%{ext_man}
|
||||
%{_includedir}/%{name}/
|
||||
%{_includedir}/%{name}-c/
|
||||
|
Loading…
Reference in New Issue
Block a user