Accepting request 732875 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/732875 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpwquality?expand=0&rev=15
This commit is contained in:
commit
0c856c5563
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b
|
||||
size 450384
|
3
libpwquality-1.4.1.tar.bz2
Normal file
3
libpwquality-1.4.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a97d72b5c56b7e279c6e86dad70c1493ea5796f00a596fb9f3173b96f9bf5e46
|
||||
size 423053
|
@ -1,25 +0,0 @@
|
||||
From 694445da998ae3c5507df9651876488e91e6dafa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= <glen@pld-linux.org>
|
||||
Date: Mon, 3 Jul 2017 20:39:14 +0300
|
||||
Subject: [PATCH] use separate build tree for python versions
|
||||
|
||||
added python patch to allow multiple python versions build without
|
||||
duplicating source tree
|
||||
---
|
||||
python/Makefile.am | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/python/Makefile.am b/python/Makefile.am
|
||||
index abc5cd3..fd3a5ea 100644
|
||||
--- a/python/Makefile.am
|
||||
+++ b/python/Makefile.am
|
||||
@@ -11,7 +11,7 @@ CLEANFILES = *~ constants.c *.so
|
||||
EXTRA_DIST = pwquality.c setup.py
|
||||
|
||||
all-local:
|
||||
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-lib=.
|
||||
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
|
||||
|
||||
install-exec-local:
|
||||
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py install --prefix=${DESTDIR}${prefix}
|
||||
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 15:08:08 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 1.4.1:
|
||||
+ Minor bugfix update of the library.
|
||||
- Drop libpwquality-pythons.patch: Fixed upstream. Following this,
|
||||
drop autoconf, automake and libtool BuildRequires and autoreconf
|
||||
call.
|
||||
- Use modern macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 12:12:04 UTC 2019 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
- Do not recommend lang package. The lang package already has a
|
||||
supplements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:36:04 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libpwquality
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# 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)
|
||||
# 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,20 +20,18 @@
|
||||
%define _secconfdir %{_sysconfdir}/security
|
||||
%define libname libpwquality1
|
||||
%bcond_without python2
|
||||
|
||||
Name: libpwquality
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Library for password quality checking and generating random passwords
|
||||
License: BSD-3-Clause OR GPL-2.0+
|
||||
License: BSD-3-Clause OR GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/libpwquality/libpwquality
|
||||
Source: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
||||
Patch0: libpwquality-pythons.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
Source: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: cracklib-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(python3)
|
||||
@ -50,7 +48,6 @@ of random passwords that pass the checks.
|
||||
Summary: Library for password quality checking and generating random passwords
|
||||
Group: System/Libraries
|
||||
Requires: cracklib-dict >= 2.8
|
||||
Recommends: %{name}-lang
|
||||
Recommends: cracklib-dict-full >= 2.8
|
||||
# To make lang package installable
|
||||
Provides: %{name}
|
||||
@ -116,18 +113,16 @@ of random passwords that pass the checks.
|
||||
This package provides Python 3 bindings for the libpwquality library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# needed for patch0
|
||||
autoreconf -fvi
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-securedir=%{_pammoduledir} \
|
||||
--with-python-binary=%{_bindir}/python3 \
|
||||
--with-pythonsitedir=%{python3_sitearch}
|
||||
make %{?_smp_mflags}
|
||||
--disable-static \
|
||||
--with-securedir=%{_pammoduledir} \
|
||||
--with-python-binary=%{_bindir}/python3 \
|
||||
--with-pythonsitedir=%{python3_sitearch} \
|
||||
%{nil}
|
||||
%make_build
|
||||
%if %{with python2}
|
||||
pushd python
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user