Accepting request 808364 from Base:System
OBS-URL: https://build.opensuse.org/request/show/808364 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cracklib?expand=0&rev=59
This commit is contained in:
commit
ba5e927e18
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 22 16:06:54 UTC 2020 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Enable translation-update-upstream on leap, to remove the use of
|
||||||
|
is_opensuse (jsc#SLE-12096).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 09:45:09 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- use /usr/lib instead of %{_libexecdir}, %{_libexecdir} should
|
||||||
|
contain internal binaries, not data
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 22 15:10:30 UTC 2018 - fvogt@suse.com
|
Thu Feb 22 15:10:30 UTC 2018 - fvogt@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cracklib
|
# spec file for package cracklib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,9 +20,9 @@ Name: cracklib
|
|||||||
Version: 2.9.6
|
Version: 2.9.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to crack passwords using dictionaries
|
Summary: Library to crack passwords using dictionaries
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1-only
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://sourceforge.net/projects/cracklib
|
URL: http://sourceforge.net/projects/cracklib
|
||||||
Source: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
# PATCH-FIX-OPENSUSE (should be upstreamed)
|
# PATCH-FIX-OPENSUSE (should be upstreamed)
|
||||||
@ -38,7 +38,7 @@ BuildRequires: gzip
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Requires: cracklib-dict
|
Requires: cracklib-dict
|
||||||
%if ! 0%{?is_opensuse}
|
%if 0%{?sle_version}
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ This package contains a small dictionay file used by cracklib.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%if ! 0%{?is_opensuse}
|
%if 0%{?sle_version}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%endif
|
%endif
|
||||||
%patch1
|
%patch1
|
||||||
@ -118,9 +118,9 @@ sed "s,%{_libexecdir}/cracklib_dict,%{_datadir}/cracklib/pw_dict,g" lib/crack.h
|
|||||||
ln -s cracklib-format %{buildroot}/%{_sbindir}/mkdict
|
ln -s cracklib-format %{buildroot}/%{_sbindir}/mkdict
|
||||||
ln -s cracklib-packer %{buildroot}/%{_sbindir}/packer
|
ln -s cracklib-packer %{buildroot}/%{_sbindir}/packer
|
||||||
rm -f %{buildroot}/%{_datadir}/cracklib/cracklib-small
|
rm -f %{buildroot}/%{_datadir}/cracklib/cracklib-small
|
||||||
ln -sf %{_datadir}/cracklib/pw_dict.hwm %{buildroot}%{_libexecdir}/cracklib_dict.hwm
|
ln -sf %{_datadir}/cracklib/pw_dict.hwm %{buildroot}/usr/lib/cracklib_dict.hwm
|
||||||
ln -sf %{_datadir}/cracklib/pw_dict.pwd %{buildroot}%{_libexecdir}/cracklib_dict.pwd
|
ln -sf %{_datadir}/cracklib/pw_dict.pwd %{buildroot}/usr/lib/cracklib_dict.pwd
|
||||||
ln -sf %{_datadir}/cracklib/pw_dict.pwi %{buildroot}%{_libexecdir}/cracklib_dict.pwi
|
ln -sf %{_datadir}/cracklib/pw_dict.pwi %{buildroot}/usr/lib/cracklib_dict.pwi
|
||||||
#
|
#
|
||||||
# using zip'ed dict takes too long for a check. But the support
|
# using zip'ed dict takes too long for a check. But the support
|
||||||
# for this is still in the lib.
|
# for this is still in the lib.
|
||||||
@ -154,9 +154,9 @@ make %{?_smp_mflags} check
|
|||||||
%{_sbindir}/cracklib-unpacker
|
%{_sbindir}/cracklib-unpacker
|
||||||
%dir %{_datadir}/cracklib
|
%dir %{_datadir}/cracklib
|
||||||
%{_datadir}/cracklib/cracklib.magic
|
%{_datadir}/cracklib/cracklib.magic
|
||||||
%{_libexecdir}/cracklib_dict.hwm
|
/usr/lib/cracklib_dict.hwm
|
||||||
%{_libexecdir}/cracklib_dict.pwd
|
/usr/lib/cracklib_dict.pwd
|
||||||
%{_libexecdir}/cracklib_dict.pwi
|
/usr/lib/cracklib_dict.pwi
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/crack.h
|
%{_includedir}/crack.h
|
||||||
|
Loading…
Reference in New Issue
Block a user