SHA256
1
0
forked from pool/timezone

Accepting request 222640 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/222640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/timezone?expand=0&rev=82
This commit is contained in:
Stephan Kulow 2014-02-19 17:54:52 +00:00 committed by Git OBS Bridge
parent 55db797b71
commit 8190978db4
3 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# #
# spec file for package timezone-java # spec file for package timezone-java
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 10 21:10:49 UTC 2014 - dmueller@suse.com
- install /etc/localtime as symlink to UTC by default
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 28 09:32:47 UTC 2013 - dmueller@suse.com Mon Oct 28 09:32:47 UTC 2013 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package timezone # spec file for package timezone
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -80,7 +80,11 @@ cp -a zoneinfo-leaps %{buildroot}%{_prefix}/share/zoneinfo/right
mkdir -p %{buildroot}/etc mkdir -p %{buildroot}/etc
rm -f %{buildroot}/etc/localtime rm -f %{buildroot}/etc/localtime
rm -f %{buildroot}%{_prefix}/share/zoneinfo/posixrules rm -f %{buildroot}%{_prefix}/share/zoneinfo/posixrules
%if 0%{?suse_version} >= 1230
ln -sf %{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime
%else
cp -fp %{buildroot}%{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime cp -fp %{buildroot}%{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime
%endif
ln -sf /etc/localtime %{buildroot}%{_prefix}/share/zoneinfo/posixrules ln -sf /etc/localtime %{buildroot}%{_prefix}/share/zoneinfo/posixrules
install -m 644 iso3166.tab %{buildroot}%{_prefix}/share/zoneinfo/iso3166.tab install -m 644 iso3166.tab %{buildroot}%{_prefix}/share/zoneinfo/iso3166.tab
install -m 644 zone.tab %{buildroot}%{_prefix}/share/zoneinfo/zone.tab install -m 644 zone.tab %{buildroot}%{_prefix}/share/zoneinfo/zone.tab