]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
cracklib: Remove Python module
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:39:03 +0000 (16:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:39:03 +0000 (16:39 +0000)
The Python module does not build with Python 3 and we do not need it
anyways. So this patch disables it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
cracklib/cracklib.nm

index dbc643928df8c5ce76592bd6f35673b683d19ada..5103349cb51a325725c1fe43cb4317fa7cc11cad 100644 (file)
@@ -5,12 +5,12 @@
 
 name       = cracklib
 version    = 2.9.5
-release    = 2
+release    = 3
 
 groups     = Security/Password
-url        = http://sourceforge.net/projects/cracklib/
+url        = https://sourceforge.net/projects/cracklib/
 license    = GPLv2
-summary    = A password-checking library.
+summary    = A password-checking library
 
 description
        CrackLib tests passwords to determine whether they match certain \
@@ -22,12 +22,12 @@ description
        in a dictionary.
 end
 
-source_dl  = http://prdownloads.sourceforge.net/cracklib/
+source_dl  = https://prdownloads.sourceforge.net/cracklib/
 sources   += cracklib-words-20080507.gz
 
 build
        requires
-               python-devel
+               zlib-devel
        end
 
        dictdir  = %{datadir}/cracklib
@@ -37,7 +37,7 @@ build
 
        configure_options += \
                --with-default-dict=%{dictpath} \
-               --with-python \
+               --without-python \
                --disable-static
 
        # Only extract the source tarball.
@@ -98,7 +98,7 @@ packages
                template DEVEL
        end
 
-       # We build an extra package with the dictionaries.
+       # We build an extra package with the dictionaries
        package %{name}-dicts
                summary = Dictionaries for %{thisapp}.
                description = %{summary}
@@ -109,17 +109,6 @@ packages
                end
        end
 
-       # We build an extra python package with the bindings for it.
-       package python-cracklib
-               summary = Python bindings for %{thisapp}.
-               description = %{summary}
-
-               files
-                       /usr/lib/python*
-                       %{libdir}/python*
-               end
-       end
-
        package %{name}-debuginfo
                template DEBUGINFO
        end