SHA256
1
0
forked from pool/cracklib

Accepting request 911467 from home:jengelh:pic

- Drop --with-pic, as it has no effect with --disable-static.

OBS-URL: https://build.opensuse.org/request/show/911467
OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=56
This commit is contained in:
Marcus Meissner 2021-08-16 13:21:04 +00:00 committed by Git OBS Bridge
parent fe52af6027
commit e5eeb97826
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 11 15:25:32 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Drop --with-pic, as it has no effect with --disable-static.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 2 18:41:21 UTC 2020 - Michael Gorse <mgorse@suse.com> Tue Jun 2 18:41:21 UTC 2020 - Michael Gorse <mgorse@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cracklib # spec file for package cracklib
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# 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
@ -21,7 +21,7 @@ Version: 2.9.7
Release: 0 Release: 0
Summary: Library to crack passwords using dictionaries Summary: Library to crack passwords using dictionaries
License: LGPL-2.1-only License: LGPL-2.1-only
Group: System/Libraries Group: Development/Libraries/C and C++
URL: http://sourceforge.net/projects/cracklib URL: http://sourceforge.net/projects/cracklib
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
@ -63,12 +63,12 @@ Requires: cracklib >= %{version}
%description -n libcrack2 %description -n libcrack2
CrackLib tests passwords to determine whether they match CrackLib tests passwords to determine whether they match
certainsecurity-oriented characteristics. You can use CrackLib to certain security-oriented characteristics. You can use CrackLib to
stopusers from choosing passwords that are too simple.This package 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
Summary: Small dictionary for cracklib - A Password-Checking Library Summary: Small dictionary for cracklib, a password checking library
Group: System/Libraries Group: System/Libraries
Conflicts: cracklib-dict-full Conflicts: cracklib-dict-full
Provides: cracklib-dict Provides: cracklib-dict
@ -81,17 +81,14 @@ from choosing passwords that are easy to guess.
This package contains a small dictionay file used by cracklib. This package contains a small dictionay file used by cracklib.
%prep %prep
%setup -q %autosetup -p0
%patch1
%patch2
%build %build
AUTOPOINT=true autoreconf -fi AUTOPOINT=true autoreconf -fi
%configure \ %configure \
--enable-hidden-symbols \ --enable-hidden-symbols \
--disable-static \ --disable-static
--with-pic %make_build
make %{?_smp_mflags}
#make -C po update-po #make -C po update-po
%install %install
@ -123,7 +120,7 @@ nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T '
%endif %endif
%check %check
make %{?_smp_mflags} check %make_build check
%post -n libcrack2 -p /sbin/ldconfig %post -n libcrack2 -p /sbin/ldconfig
%postun -n libcrack2 -p /sbin/ldconfig %postun -n libcrack2 -p /sbin/ldconfig