diff --git a/bugzilla-de-5.0.3-1.utf-8.tar.gz b/bugzilla-de-5.0.3-1.utf-8.tar.gz deleted file mode 100644 index 74b7235..0000000 --- a/bugzilla-de-5.0.3-1.utf-8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8b7961d052e6862238959ea101bf3d93f55aedef63fc93d2935ed3094ee8366 -size 263059 diff --git a/bugzilla-de-5.0.4-1.utf-8.tar.gz b/bugzilla-de-5.0.4-1.utf-8.tar.gz new file mode 100644 index 0000000..6dfa7ce --- /dev/null +++ b/bugzilla-de-5.0.4-1.utf-8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b124a24d9894ed8dd97640c68c2f3b4b1910a5f364d6a7ba0ca8df7332c24af +size 263093 diff --git a/bugzilla-de-tagfix.patch b/bugzilla-de-tagfix.patch new file mode 100644 index 0000000..47593a4 --- /dev/null +++ b/bugzilla-de-tagfix.patch @@ -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 @@ +
  • + | + ++ onclick="return show_forgot_form('[% qs_suffix %]')">Passwort vergessen +
    + diff --git a/bugzilla.changes b/bugzilla.changes index 8a15161..4e6ee4b 100644 --- a/bugzilla.changes +++ b/bugzilla.changes @@ -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 diff --git a/bugzilla.spec b/bugzilla.spec index 3c0d844..5a3be7e 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -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