.
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=130
This commit is contained in:
@@ -65,6 +65,8 @@ Patch36: file-5.15-clear-invalid.patch
|
||||
Patch37: file-secure_getenv.patch
|
||||
Patch38: file-5.26-version.patch
|
||||
Patch39: file-5.26-downgrade_DER.patch
|
||||
Patch40: file-5.26-console.diff
|
||||
Patch40: file-5.26-zmagic.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@@ -129,6 +131,8 @@ to develop applications that require the magic "file" interface.
|
||||
%patch37 -p1 -b .getenv
|
||||
%patch38 -p1 -b .php
|
||||
%patch39 -p0 -b .DER
|
||||
%patch40 -p1 -b .cons
|
||||
%patch41 -p1 -b .zmag
|
||||
%patch -b .0
|
||||
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
|
||||
rm -fv src/magic.h
|
||||
@@ -161,7 +165,6 @@ echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysc
|
||||
LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
export LD_LIBRARY_PATH
|
||||
find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \
|
||||
grep -v tests/data/bom.py | \
|
||||
xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic
|
||||
unset LD_LIBRARY_PATH
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
|
Reference in New Issue
Block a user