Dr. Werner Fink 2016-04-20 08:01:20 +00:00 committed by Git OBS Bridge
parent dd6aaf6741
commit 9ae0437826
2 changed files with 3 additions and 6 deletions

View File

@ -1,9 +1,6 @@
libmagic1
requires "file-magic-<targettype> = <version>"
file
requires "libmagic1-<targettype> = <version>"
requires "file-magic-<targettype> = <version>"
file-devel
requires -file-<targettype>
requires "libmagic1-<targettype> = <version>"
requires "file-magic-<targettype> = <version>"
file-magic

View File

@ -171,8 +171,8 @@ install -s dcore %{buildroot}%{_bindir}
# Check out that the binary does not bail out:
LD_LIBRARY_PATH=%{buildroot}%{_libdir}
export LD_LIBRARY_PATH
#find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \
# xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \
xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
unset LD_LIBRARY_PATH
%{__rm} -f %{buildroot}%{_libdir}/*.la