[packages/python-bcrypt] - rel 10; fix build

arekm arekm at pld-linux.org
Wed Jul 4 08:32:22 CEST 2018


commit 0f97c7867dd86de749cf7b3527e540f7aefe3a2c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jul 4 08:32:13 2018 +0200

    - rel 10; fix build

 build.patch        | 11 +++++++++++
 python-bcrypt.spec |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/python-bcrypt.spec b/python-bcrypt.spec
index cddb1a0..3be6c1c 100644
--- a/python-bcrypt.spec
+++ b/python-bcrypt.spec
@@ -10,11 +10,12 @@ Summary:	Library for password hashing for your software and your servers
 Summary(pl.UTF-8):	Biblioteka do tworzenia skrótów haseł dla twojego oprogramowania i serwerów
 Name:		python-%{module}
 Version:	1.1.1
-Release:	9
+Release:	10
 License:	Apache v2.0
 Group:		Libraries/Python
-Source0:	https://pypi.python.org/packages/source/b/bcrypt/%{module}-%{version}.tar.gz
+Source0:	https://pypi.debian.net/bcrypt/%{module}-%{version}.tar.gz
 # Source0-md5:	43c5871c6bc7da1efe6a8bae25f90ad8
+Patch0:		build.patch
 URL:		https://github.com/dstufft/bcrypt/
 BuildRequires:	rpm-pythonprov
 # if py_postclean is used
@@ -79,6 +80,7 @@ Dokumentacja API %{module}.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..8034cb2
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- bcrypt-1.1.1/bcrypt/crypt_blowfish-1.3/crypt.h~	2015-03-14 03:18:59.000000000 +0100
++++ bcrypt-1.1.1/bcrypt/crypt_blowfish-1.3/crypt.h	2018-07-04 08:30:01.243266919 +0200
+@@ -14,7 +14,7 @@
+  * See crypt_blowfish.c for more information.
+  */
+ 
+-#include <gnu-crypt.h>
++
+ 
+ #if defined(_OW_SOURCE) || defined(__USE_OW)
+ #define __SKIP_GNU
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-bcrypt.git/commitdiff/0f97c7867dd86de749cf7b3527e540f7aefe3a2c



More information about the pld-cvs-commit mailing list