From 0540fd47c1c4e520a40a2dedfedc4c6ef4c60f7b2ed7e68f4ed96bc2927c8637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Wed, 18 May 2011 17:24:32 +0000 Subject: [PATCH] Accepting request 70530 from home:msmeissn:branches:Base:System fix ppc64 build OBS-URL: https://build.opensuse.org/request/show/70530 OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=20 --- cracklib.changes | 11 +++++++++++ cracklib.spec | 18 +++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/cracklib.changes b/cracklib.changes index 6c034ea..e3de791 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed May 18 11:41:07 CEST 2011 - meissner@suse.de + +- ppc64 has different symbols in nm output. + +------------------------------------------------------------------- +Mon Mar 7 12:53:17 UTC 2011 - cdenicolo@novell.com + +- license update: LGPLv2.1 + Project has changed license to LGPLv2.1 + ------------------------------------------------------------------- Mon Feb 14 17:35:37 CET 2011 - sbrabec@suse.cz diff --git a/cracklib.spec b/cracklib.spec index d52554f..45a6768 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -1,7 +1,7 @@ # -# spec file for package cracklib (Version 2.8.18) +# spec file for package cracklib # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: cracklib BuildRequires: gzip zlib-devel BuildRequires: translation-update-upstream Url: http://sourceforge.net/projects/cracklib -License: Artistic +License: LGPLv2.1 Group: System/Libraries AutoReqProv: on # bug437293 @@ -31,7 +31,7 @@ Obsoletes: cracklib-64bit %endif # Version: 2.8.18 -Release: 1 +Release: 10 Requires: cracklib-dict Summary: Library to crack passwords using dictionaries Source: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.bz2 @@ -40,7 +40,7 @@ Source2: baselibs.conf # Remove support for broken 64bit indexes from magic entry [bnc#106007] Patch: cracklib-magic.diff # PATCH-FIX-OPENSUSE Hide non-public functions -Patch1: cracklib-visibility.patch +Patch1: cracklib-visibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -52,7 +52,7 @@ contains a full dictionary file used by cracklib. %package devel -License: Artistic +License: LGPLv2.1 Summary: Header files and libraries for developing apps which will use CrackLib Group: Development/Libraries/C and C++ Provides: cracklib:/usr/include/crack.h @@ -79,7 +79,7 @@ stopusers from choosing passwords that are too simple.This package contains a full dictionary file used by cracklib. %package dict-small -License: Artistic +License: LGPLv2.1 Summary: Small dictionary for cracklib - A Password-Checking Library Group: System/Libraries Provides: cracklib-dict @@ -99,6 +99,7 @@ This package contains a small dictionay file used by cracklib. translation-update-upstream %patch %patch1 + %build AUTOPOINT=true autoreconf -fi %configure --enable-hidden-symbols --disable-static --with-pic @@ -132,7 +133,10 @@ ln -sf %{_datadir}/cracklib/pw_dict.pwi $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pw #gzip $RPM_BUILD_ROOT/%{_datadir}/cracklib/pw_dict.pwd #ln -sf %{_datadir}/cracklib/pw_dict.pwd.gz $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pwd.gz %{find_lang} %{name} +%ifnarch ppc64 nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T ' +%endif + %check make check