From 92272685c2d3ac1c340f17199bdaf4c14519bcb94809f9bcaf4845b9f4dc987b Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Mon, 16 Mar 2015 17:45:45 +0000 Subject: [PATCH] Accepting request 290959 from home:dimstar:Factory - Add timezone requires: Ensure that DateTime functionality is given when installing mono-core (e.g. System.DateTime.get_Now() needs access to this information). OBS-URL: https://build.opensuse.org/request/show/290959 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=143 --- mono-core.changes | 7 +++++++ mono-core.spec | 2 ++ 2 files changed, 9 insertions(+) diff --git a/mono-core.changes b/mono-core.changes index 496db9d..a9140b6 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 16 11:13:24 UTC 2015 - dimstar@opensuse.org + +- Add timezone requires: Ensure that DateTime functionality is + given when installing mono-core (e.g. System.DateTime.get_Now() + needs access to this information). + ------------------------------------------------------------------- Tue Mar 10 17:10:58 UTC 2015 - mailaender@opensuse.org diff --git a/mono-core.spec b/mono-core.spec index e7d19cd..59c9395 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -90,6 +90,8 @@ Provides: mono(System) = 1.0.5000.0 Provides: mono(System.Security) = 1.0.5000.0 Provides: mono(System.Xml) = 1.0.5000.0 Provides: mono(mscorlib) = 1.0.5000.0 +# mono-core provides System.DateTime functions, which rely on timezone information +Requires: timezone %define _use_internal_dependency_generator 0 %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides ; } | sort | uniq'