Accepting request 590453 from home:ecsos:server

- update german language to 5.0.4
- fix missing closing tag in german language pack (boo#1015765).
  Thanks voorburg@gmx.net.

OBS-URL: https://build.opensuse.org/request/show/590453
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/bugzilla?expand=0&rev=15
This commit is contained in:
Eric Schirra 2018-03-23 00:17:27 +00:00 committed by Git OBS Bridge
parent 0a4dc45f07
commit e2387d8110
5 changed files with 31 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8b7961d052e6862238959ea101bf3d93f55aedef63fc93d2935ed3094ee8366
size 263059

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b124a24d9894ed8dd97640c68c2f3b4b1910a5f364d6a7ba0ca8df7332c24af
size 263093

12
bugzilla-de-tagfix.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Pdpru de.orig/default/account/auth/login-small.html.tmpl de/default/account/auth/login-small.html.tmpl
--- de.orig/default/account/auth/login-small.html.tmpl 2018-03-05 18:06:51.000000000 +0100
+++ de/default/account/auth/login-small.html.tmpl 2018-03-23 00:48:59.851562635 +0100
@@ -61,7 +61,7 @@
<li id="forgot_container[% qs_suffix %]">
<span class="separator">| </span>
<a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
- onclick="return show_forgot_form('[% qs_suffix %]')"Passwort vergessen</a>
+ onclick="return show_forgot_form('[% qs_suffix %]')">Passwort vergessen</a>
<form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]"
class="mini_forgot bz_default_hidden">
<label for="login[% qs_suffix FILTER html %]">Benutzerkonto:</label>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 23 00:11:31 UTC 2018 - ecsos@opensuse.org
- update german language to 5.0.4
- fix missing closing tag in german language pack (boo#1015765).
Thanks voorburg@gmx.net.
-------------------------------------------------------------------
Mon Mar 5 13:10:06 UTC 2018 - ecsos@opensuse.org

View File

@ -27,11 +27,12 @@ License: MPL-2.0
Group: Development/Tools/Other
Url: http://bugzilla.org/
Source: http://ftp.mozilla.org/pub/mozilla.org/webtools/%{name}-%{version}.tar.gz
Source2: http://downloads.sourceforge.net/project/bugzilla-de/5.0/5.0.3/%{name}-de-5.0.3-1.utf-8.tar.gz
Source2: http://downloads.sourceforge.net/project/bugzilla-de/5.0/5.0.4/%{name}-de-5.0.4-1.utf-8.tar.gz
Source3: MPL-2.0.html
Source4: %{name}.conf
Source5: %{name}-rpmlintrc
Patch1: fix_whine_error.patch
Patch2: %{name}-de-tagfix.patch
BuildRequires: apache
BuildRequires: fdupes
Requires: apache
@ -117,8 +118,14 @@ Requires: %{name} = %{version}-%{release}
This package includes german language files for bugzilla
%prep
%setup -q
%setup
%patch1 -p1
ls
tar -xzf %{SOURCE2} --directory "template"
#%%setup -T -D -a 2
cd template/de
%patch2 -p1
cd ../..
%build
@ -145,7 +152,6 @@ find . -type f -print0 | xargs -0r grep -l '^#!' | \
xargs -r perl -i -pe 's{^#!%{_prefix}/local/}{#!%{_prefix}/}' "{}" "+"
mkdir -p "%{buildroot}/srv/www"
cp -a . "%{buildroot}/srv/www/%{name}"
tar -xzf %{SOURCE2} --directory "%{buildroot}/srv/www/%{name}/template"
%fdupes %{buildroot}/srv