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
This commit is contained in:
Cristian Rodríguez 2011-05-18 17:24:32 +00:00 committed by Git OBS Bridge
parent 2366b15adf
commit 0540fd47c1
2 changed files with 22 additions and 7 deletions

View File

@ -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

View File

@ -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