Accepting request 794224 from home:AndreasStieger:branches:Base:System

revert to previous state - factory submission declined due to being a Ring0 package

OBS-URL: https://build.opensuse.org/request/show/794224
OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=245
This commit is contained in:
Markéta Machová 2020-04-15 16:09:50 +00:00 committed by Git OBS Bridge
parent ac6f600ab6
commit b593f5e724
8 changed files with 5875 additions and 97 deletions

View File

@ -1,3 +0,0 @@
<multibuild>
<flavor>java</flavor>
</multibuild>

12
pre_checkin.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# This script is called automatically during autobuild checkin.
ln -f timezone.changes timezone-java.changes
for spec in timezone-java.spec; do
{ sed -n -e '1,/COMMON-BEGIN/p' $spec.in
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' timezone.spec
sed -n -e '/COMMON-END/,/COMMON-PREP-BEGIN/p' $spec.in
sed -n -e '/COMMON-PREP-BEGIN/,/COMMON-PREP-END/p' timezone.spec
sed -n -e '/COMMON-PREP-END/,$p' $spec.in; } > $spec.tmp && mv $spec.tmp $spec
done

5599
timezone-java.changes Normal file

File diff suppressed because it is too large Load Diff

58
timezone-java.keyring Normal file
View File

@ -0,0 +1,58 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.5
Comment: Hostname: pgp.mit.edu
mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS
96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl
KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss
mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1Z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1thMYqlmgdhd9/BabGFbGGYHA6U4/T5zqU+f6xHy1SsAQZ1MSKlLwekBIT+4/cLRGqCH
jnV0q5H/T6a7t5mPkbzSrOLSo4puj+IToNjYyYIDBWzhlA19avOa+rvUjmHtD3sFN7cXWtkG
oi8buNcby4U=
=w6kQ
-----END PGP PUBLIC KEY BLOCK-----

92
timezone-java.spec Normal file
View File

@ -0,0 +1,92 @@
#
# spec file for package timezone-java
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: timezone-java
BuildRequires: java
BuildRequires: javazic
BuildRequires: tzdb
Summary: Time Zone Descriptions
# COMMON-BEGIN
# COMMON-BEGIN
License: BSD-3-Clause AND SUSE-Public-Domain
Group: System/Base
Version: 2019c
Release: 0
Source: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
Source1: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
Source2: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz.asc
Source3: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz.asc
Source4: %{name}.keyring
Source5: %{name}.changes
Patch0: tzdata-china.diff
Patch3: iso3166-uk.diff
Patch4: timezone-2018f-bsc1112310.patch
# COMMON-END
# COMMON-END
Url: https://www.iana.org/time-zones
Requires(pre): filesystem, coreutils
BuildArch: noarch
Provides: tzdata-java = %{version}-%{release}
Provides: tzdata-java8 = %{version}-%{release}
#!BuildIgnore: tzdata-java tzdata-java8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
These are configuration files that describe available time zones - this
package is intended for Java Virtual Machine based on OpenJDK.
%prep
%setup -c -a 1
# COMMON-PREP-BEGIN
# COMMON-PREP-BEGIN
%patch0 -p1
%patch3 -p1
%patch4 -p1
sed -ri 's@/usr/local/etc/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
# COMMON-PREP-END
# COMMON-PREP-END
echo "tzdata%{version}" >> VERSION
%build
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/javazic/tzdata_jdk/gmt \
%{_datadir}/javazic/tzdata_jdk/jdk11_backward
# Java 8/9 data
java -jar %{_javadir}/tzdb.jar \
-srcdir . -dstfile javazi/tzdb.dat \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/tzdb/tzdata_jdk/gmt \
%{_datadir}/tzdb/tzdata_jdk/jdk11_backward
%install
install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}
cp -a javazi $RPM_BUILD_ROOT%{_datadir}
%files
%defattr(-,root,root)
%{_datadir}/javazi
%changelog

73
timezone-java.spec.in Normal file
View File

@ -0,0 +1,73 @@
#
# spec file for package timezone-java
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: timezone-java
BuildRequires: java
BuildRequires: javazic
BuildRequires: tzdb
Summary: Time Zone Descriptions
License: BSD-3-Clause and SUSE-Public-Domain
Group: System/Base
# COMMON-BEGIN
# COMMON-END
Url: https://www.iana.org/time-zones
Requires(pre): filesystem, coreutils
BuildArch: noarch
Provides: tzdata-java = %{version}-%{release}
Provides: tzdata-java8 = %{version}-%{release}
#!BuildIgnore: tzdata-java tzdata-java8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
These are configuration files that describe available time zones - this
package is intended for Java Virtual Machine based on OpenJDK.
%prep
%setup -c -a 1
# COMMON-PREP-BEGIN
# COMMON-PREP-END
echo "tzdata%{version}" >> VERSION
%build
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/javazic/tzdata_jdk/gmt \
%{_datadir}/javazic/tzdata_jdk/jdk11_backward
# Java 8/9 data
java -jar %{_javadir}/tzdb.jar \
-srcdir . -dstfile javazi/tzdb.dat \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/tzdb/tzdata_jdk/gmt \
%{_datadir}/tzdb/tzdata_jdk/jdk11_backward
%install
install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}
cp -a javazi $RPM_BUILD_ROOT%{_datadir}
%files
%defattr(-,root,root)
%{_datadir}/javazi
%changelog

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue Apr 14 23:17:41 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- convert to singlespec
-------------------------------------------------------------------
Thu Sep 12 06:58:19 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package timezone
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,142 +16,94 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "java"
%define psuffix -java
%endif
%global AREA Etc
%global ZONE UTC
Name: timezone%{?psuffix}
Version: 2019c
Release: 0
Name: timezone
Summary: Time Zone Descriptions
License: BSD-3-Clause AND SUSE-Public-Domain
Group: System/Base
URL: https://www.iana.org/time-zones
Url: http://www.iana.org/time-zones
PreReq: filesystem, coreutils
# COMMON-BEGIN
Version: 2019c
Release: 0
Source: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
Source1: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
Source2: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz.asc
Source3: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz.asc
Source4: timezone.keyring
Source5: timezone.changes
Source4: %{name}.keyring
Source5: %{name}.changes
Patch0: tzdata-china.diff
Patch3: iso3166-uk.diff
Patch4: timezone-2018f-bsc1112310.patch
Requires(pre): coreutils
Requires(pre): filesystem
%if "%{flavor}" == "java"
BuildRequires: java
BuildRequires: javazic
BuildRequires: tzdb
#!BuildIgnore: tzdata-java
#!BuildIgnore: tzdata-java8
Provides: tzdata-java = %{version}-%{release}
Provides: tzdata-java8 = %{version}-%{release}
BuildArch: noarch
%endif # java flavor
# COMMON-END
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global AREA Etc
%global ZONE UTC
%description
%if "%{flavor}" == ""
These are configuration files that describe available time zones. You
can select an appropriate time zone for your system with YaST.
%endif
%if "%{flavor}" == "java"
These are configuration files that describe available time zones - this
package is intended for Java Virtual Machine based on OpenJDK.
%endif
%prep
%setup -q -c -a 1
# COMMON-PREP-BEGIN
%patch0 -p1
%patch3 -p1
%patch4 -p1
sed -ri 's@%{_prefix}/local%{_sysconfdir}/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
%if "%{flavor}" == "java"
echo "tzdata%{version}" >> VERSION
%endif
sed -ri 's@/usr/local/etc/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
# COMMON-PREP-END
%build
%if "%{flavor}" == ""
unset ${!LC_*}
LANG=POSIX
LC_ALL=POSIX
AREA=%{AREA}
ZONE=%{ZONE}
export AREA LANG LC_ALL ZONE
%make_build TZDIR=%{_datadir}/zoneinfo CFLAGS="%{optflags} -DHAVE_GETTEXT=1 -DTZDEFAULT='\"%{_sysconfdir}/localtime\"' -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -Dlint" AWK=awk
%make_build TZDIR=zoneinfo AWK=awk zones
make %{?_smp_mflags} TZDIR=%{_datadir}/zoneinfo CFLAGS="%{optflags} -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"' -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -Dlint" AWK=awk
make %{?_smp_mflags} TZDIR=zoneinfo AWK=awk zones
# Generate posixrules
./zic -y ./yearistype -d zoneinfo -p %{AREA}/%{ZONE}
%endif # flavor
%if "%{flavor}" == "java"
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/javazic/tzdata_jdk/gmt \
%{_datadir}/javazic/tzdata_jdk/jdk11_backward
# Java 8/9 data
java -jar %{_javadir}/tzdb.jar \
-srcdir . -dstfile javazi/tzdb.dat \
africa antarctica asia australasia europe northamerica pacificnew \
southamerica backward etcetera systemv \
%{_datadir}/tzdb/tzdata_jdk/gmt \
%{_datadir}/tzdb/tzdata_jdk/jdk11_backward
%endif # java flavor
%install
%if "%{flavor}" == ""
mkdir -p %{buildroot}%{_datadir}/zoneinfo
cp -a zoneinfo %{buildroot}%{_datadir}/zoneinfo/posix
cp -al %{buildroot}%{_datadir}/zoneinfo/posix/. %{buildroot}%{_datadir}/zoneinfo
cp -a zoneinfo-leaps %{buildroot}%{_datadir}/zoneinfo/right
mkdir -p %{buildroot}%{_sysconfdir}
rm -f %{buildroot}%{_sysconfdir}/localtime
rm -f %{buildroot}%{_datadir}/zoneinfo/posixrules
mkdir -p %{buildroot}%{_prefix}/share/zoneinfo
cp -a zoneinfo %{buildroot}%{_prefix}/share/zoneinfo/posix
cp -al %{buildroot}%{_prefix}/share/zoneinfo/posix/. %{buildroot}%{_prefix}/share/zoneinfo
cp -a zoneinfo-leaps %{buildroot}%{_prefix}/share/zoneinfo/right
mkdir -p %{buildroot}/etc
rm -f %{buildroot}/etc/localtime
rm -f %{buildroot}%{_prefix}/share/zoneinfo/posixrules
%if 0%{?suse_version} >= 1230
ln -sf %{_datadir}/zoneinfo/%{AREA}/%{ZONE} %{buildroot}%{_sysconfdir}/localtime
ln -sf %{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime
%else
cp -fp %{buildroot}%{_datadir}/zoneinfo/%{AREA}/%{ZONE} %{buildroot}%{_sysconfdir}/localtime
cp -fp %{buildroot}%{_prefix}/share/zoneinfo/%{AREA}/%{ZONE} %{buildroot}/etc/localtime
%endif
ln -sf %{_sysconfdir}/localtime %{buildroot}%{_datadir}/zoneinfo/posixrules
install -m 644 iso3166.tab %{buildroot}%{_datadir}/zoneinfo/iso3166.tab
install -m 644 zone.tab %{buildroot}%{_datadir}/zoneinfo/zone.tab
install -m 644 zone1970.tab %{buildroot}%{_datadir}/zoneinfo/zone1970.tab
ln -sf /etc/localtime %{buildroot}%{_prefix}/share/zoneinfo/posixrules
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 zone1970.tab %{buildroot}%{_prefix}/share/zoneinfo/zone1970.tab
install -D -m 755 tzselect %{buildroot}%{_bindir}/tzselect
install -D -m 755 zdump %{buildroot}%{_sbindir}/zdump
install -D -m 755 zic %{buildroot}%{_sbindir}/zic
%endif # flavor
%if "%{flavor}" == "java"
install -d -m 0755 %{buildroot}/%{_datadir}
cp -a javazi %{buildroot}%{_datadir}
%endif # java flavor
%if "%{flavor}" == ""
%post
if [ ! -L %{_datadir}/zoneinfo/posixrules ]; then
rm -f %{_datadir}/zoneinfo/posixrules
ln -sf %{_sysconfdir}/localtime %{_datadir}/zoneinfo/posixrules
if [ ! -L /usr/share/zoneinfo/posixrules ]; then
rm -f /usr/share/zoneinfo/posixrules
ln -sf /etc/localtime /usr/share/zoneinfo/posixrules
fi
if [ -e %{_datadir}/zoneinfo/posixrules.rpmnew ]; then
rm -f %{_datadir}/zoneinfo/posixrules.rpmnew
if [ -e /usr/share/zoneinfo/posixrules.rpmnew ]; then
rm -f /usr/share/zoneinfo/posixrules.rpmnew
fi
%endif # flavor
%files
%if "%{flavor}" == ""
%verify(not link md5 size mtime) %config(missingok,noreplace) %{_sysconfdir}/localtime
%defattr(-,root,root)
%verify(not link md5 size mtime) %config(missingok,noreplace) /etc/localtime
%verify(not link md5 size mtime) %{_datadir}/zoneinfo/posixrules
%{_datadir}/zoneinfo
%{_bindir}/tzselect
%{_sbindir}/zdump
%{_sbindir}/zic
%endif # flavor
%if "%{flavor}" == "java"
%{_datadir}/javazi
%endif # java flavor
%changelog