Hello community, here is the log from the commit of package file for openSUSE:Factory checked in at 2019-11-01 15:12:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/file (Old) and /work/SRC/openSUSE:Factory/.file.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "file" Fri Nov 1 15:12:43 2019 rev:115 rq:743447 version:5.37 Changes: -------- --- /work/SRC/openSUSE:Factory/file/file.changes 2019-10-25 18:39:16.355735118 +0200 +++ /work/SRC/openSUSE:Factory/.file.new.2990/file.changes 2019-11-01 15:12:45.248646766 +0100 @@ -7,0 +8,6 @@ +Mon Oct 21 11:44:02 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de> + +- Replace find invocation in self test by recursive bash glob, + drop findutils BuildRequires. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ file.spec ++++++ --- /var/tmp/diff_new_pack.3RXAoO/_old 2019-11-01 15:12:46.216648028 +0100 +++ /var/tmp/diff_new_pack.3RXAoO/_new 2019-11-01 15:12:46.220648033 +0100 @@ -20,7 +20,7 @@ %define libname libmagic%{somajor} Name: file -BuildRequires: findutils +BuildRequires: bash >= 4.0 BuildRequires: libtool BuildRequires: zlib-devel Url: http://www.darwinsys.com/file/ @@ -81,9 +81,7 @@ Group: Productivity/File utilities Obsoletes: libmagic-data < %{version} Provides: libmagic-data = %{version} -%if 0%{?suse_version} >= 1200 BuildArch: noarch -%endif %description magic This package contains the basic magic files that libmagic reads and uses @@ -162,11 +160,16 @@ %if %{with decore} install -s dcore %{buildroot}%{_bindir} %endif + # 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}/ | \ +%{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic %{buildroot}%{_bindir}/file +shopt -s globstar +for dir in %{_bindir} /%{_lib} %{_libdir} ; do + echo $dir/** | \ xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic +done unset LD_LIBRARY_PATH rm -f %{buildroot}%{_libdir}/*.la
participants (1)
-
root