From 90a738841422713636a51e5ac96df98f8bf90030f40dfe0b2c913435ec5064df Mon Sep 17 00:00:00 2001 From: Howard Guo Date: Fri, 16 Dec 2016 00:39:01 +0000 Subject: [PATCH] Accepting request 445477 from home:dimstar:Factory - Only buildrequire and call translation-update-upstream on SLE: the package in openSUSE is a dummy and is empty. OBS-URL: https://build.opensuse.org/request/show/445477 OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=46 --- cracklib.changes | 6 ++++++ cracklib.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/cracklib.changes b/cracklib.changes index 04ebd19..4ca4198 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 12 16:31:23 UTC 2016 - dimstar@opensuse.org + +- Only buildrequire and call translation-update-upstream on SLE: + the package in openSUSE is a dummy and is empty. + ------------------------------------------------------------------- Wed Aug 17 12:32:43 UTC 2016 - hguo@suse.com diff --git a/cracklib.spec b/cracklib.spec index 8325851..965c8e7 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -36,7 +36,9 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gzip BuildRequires: libtool +%if ! 0%{?is_opensuse} BuildRequires: translation-update-upstream +%endif BuildRequires: zlib-devel Requires: cracklib-dict BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -86,7 +88,9 @@ This package contains a small dictionay file used by cracklib. %prep %setup -q +%if ! 0%{?is_opensuse} translation-update-upstream +%endif %patch1 %patch2 %patch3 -p1