Accepting request 731981 from GNOME:Next
- 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. OBS-URL: https://build.opensuse.org/request/show/731981 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=26
This commit is contained in:
parent
d9a22c9577
commit
a703d5e2cd
@ -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,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Sep 19 12:12:04 UTC 2019 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -20,20 +20,18 @@
|
|||||||
%define _secconfdir %{_sysconfdir}/security
|
%define _secconfdir %{_sysconfdir}/security
|
||||||
%define libname libpwquality1
|
%define libname libpwquality1
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
|
|
||||||
Name: libpwquality
|
Name: libpwquality
|
||||||
Version: 1.4.0
|
Version: 1.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for password quality checking and generating random passwords
|
Summary: Library for password quality checking and generating random passwords
|
||||||
License: BSD-3-Clause OR GPL-2.0-or-later
|
License: BSD-3-Clause OR GPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/libpwquality/libpwquality
|
URL: https://github.com/libpwquality/libpwquality
|
||||||
Source: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
Source: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
||||||
Patch0: libpwquality-pythons.patch
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: cracklib-devel
|
BuildRequires: cracklib-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
@ -115,18 +113,16 @@ of random passwords that pass the checks.
|
|||||||
This package provides Python 3 bindings for the libpwquality library.
|
This package provides Python 3 bindings for the libpwquality library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# needed for patch0
|
|
||||||
autoreconf -fvi
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-securedir=%{_pammoduledir} \
|
--with-securedir=%{_pammoduledir} \
|
||||||
--with-python-binary=%{_bindir}/python3 \
|
--with-python-binary=%{_bindir}/python3 \
|
||||||
--with-pythonsitedir=%{python3_sitearch}
|
--with-pythonsitedir=%{python3_sitearch} \
|
||||||
make %{?_smp_mflags}
|
%{nil}
|
||||||
|
%make_build
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
pushd python
|
pushd python
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user