diff --git a/autodeps/linux.prov.in b/autodeps/linux.prov.in index 3d07f65..eb36f77 100755 --- a/autodeps/linux.prov.in +++ b/autodeps/linux.prov.in @@ -276,7 +276,7 @@ while IFS= read -r f; do if t="$(file -bL "$f")"; then if [ -z "${t##* text*}" ]; then ListScriptProvs "$f" "$t" - elif [ -z "${t##*MS Windows PE*}" ]; then + elif [ -z "${t##*Mono/.Net assembly*}" -o -z "${t##*MS Windows PE*}" ]; then [ -z "$LIST_MONO" ] && LIST_MONO="$f" || LIST_MONO="$LIST_MONO $f" elif [ "${f##*/}" = '__init__.py' ]; then diff --git a/autodeps/linux.req.in b/autodeps/linux.req.in index 081cd69..4fb520e 100755 --- a/autodeps/linux.req.in +++ b/autodeps/linux.req.in @@ -290,7 +290,7 @@ $r" } while IFS= read -r f; do - if [ -z "${t##*MS Windows PE*}" ]; then + if [ -z "${t##*Mono/.Net assembly*}" -o -z "${t##*MS Windows PE*}" ]; then [ -z "$LIST_MONO" ] && LIST_MONO="$f" || LIST_MONO="$LIST_MONO $f" elif [ -z "${t##*Zip archive data*}" -a -z "${f##*.jar}" ] || diff --git a/rpm-4_0.spec b/rpm-4_0.spec index 38232be..62fca7d 100644 --- a/rpm-4_0.spec +++ b/rpm-4_0.spec @@ -4,7 +4,7 @@ Name: %rpm_name Version: %rpm_version -Release: alt73 +Release: alt74 %define ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}} %define get_dep() %(rpm -q --qf '%%{NAME} >= %%|SERIAL?{%%{SERIAL}:}|%%{VERSION}-%%{RELEASE}' %1 2>/dev/null || echo '%1 >= unknown') @@ -524,6 +524,11 @@ fi %endif #with contrib %changelog +* Sat Mar 17 2007 Dmitry V. Levin 4.0.4-alt74 +- find-provides, find-requires: + + Added support for files of type "Mono/.Net assembly" to repair + Mono support when new file(1) is installed (#11088, ildar@). + * Thu Feb 22 2007 Dmitry V. Levin 4.0.4-alt73 - Updated gendiff utility (Alexey Tourbin). - Added hooks for Java autoreq facility (Damir Shayhutdinov).