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:
parent
2366b15adf
commit
0540fd47c1
@ -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
|
Mon Feb 14 17:35:37 CET 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,7 +22,7 @@ Name: cracklib
|
|||||||
BuildRequires: gzip zlib-devel
|
BuildRequires: gzip zlib-devel
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
Url: http://sourceforge.net/projects/cracklib
|
Url: http://sourceforge.net/projects/cracklib
|
||||||
License: Artistic
|
License: LGPLv2.1
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
# bug437293
|
# bug437293
|
||||||
@ -31,7 +31,7 @@ Obsoletes: cracklib-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Version: 2.8.18
|
Version: 2.8.18
|
||||||
Release: 1
|
Release: 10
|
||||||
Requires: cracklib-dict
|
Requires: cracklib-dict
|
||||||
Summary: Library to crack passwords using dictionaries
|
Summary: Library to crack passwords using dictionaries
|
||||||
Source: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.bz2
|
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]
|
# Remove support for broken 64bit indexes from magic entry [bnc#106007]
|
||||||
Patch: cracklib-magic.diff
|
Patch: cracklib-magic.diff
|
||||||
# PATCH-FIX-OPENSUSE Hide non-public functions
|
# PATCH-FIX-OPENSUSE Hide non-public functions
|
||||||
Patch1: cracklib-visibility.patch
|
Patch1: cracklib-visibility.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,7 +52,7 @@ contains a full dictionary file used by cracklib.
|
|||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: Artistic
|
License: LGPLv2.1
|
||||||
Summary: Header files and libraries for developing apps which will use CrackLib
|
Summary: Header files and libraries for developing apps which will use CrackLib
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: cracklib:/usr/include/crack.h
|
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.
|
contains a full dictionary file used by cracklib.
|
||||||
|
|
||||||
%package dict-small
|
%package dict-small
|
||||||
License: Artistic
|
License: LGPLv2.1
|
||||||
Summary: Small dictionary for cracklib - A Password-Checking Library
|
Summary: Small dictionary for cracklib - A Password-Checking Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: cracklib-dict
|
Provides: cracklib-dict
|
||||||
@ -99,6 +99,7 @@ This package contains a small dictionay file used by cracklib.
|
|||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
AUTOPOINT=true autoreconf -fi
|
AUTOPOINT=true autoreconf -fi
|
||||||
%configure --enable-hidden-symbols --disable-static --with-pic
|
%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
|
#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
|
#ln -sf %{_datadir}/cracklib/pw_dict.pwd.gz $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pwd.gz
|
||||||
%{find_lang} %{name}
|
%{find_lang} %{name}
|
||||||
|
%ifnarch ppc64
|
||||||
nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T '
|
nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T '
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user