]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
popt: Update to 1.19
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Feb 2023 12:21:41 +0000 (13:21 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Feb 2023 12:38:24 +0000 (12:38 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
popt/popt.nm

index 56eb33cee42a9e17fad32661298c11e395f546b4..070dc7f3790d416b2ddd98dc73ef40052501d8c9 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = popt
-version    = 1.16
+version    = 1.19
 release    = 1
 
 groups     = System/Libraries
-url        = http://www.rpm5.org/
+url        = https://github.com/rpm-software-management/popt
 license    = MIT
 summary    = C library for parsing command line parameters.
 
@@ -18,17 +18,18 @@ description
        it improves on them by allowing more powerful argument expansion.
 end
 
-source_dl  = http://rpm5.org/files/popt/
+source_dl  = https://github.com/rpm-software-management/popt/archive/refs/tags/
+sources    = %{thisapp}-release.tar.gz
 
 build
+       DIR_APP = popt-popt-%{version}-release
+
        requires
                automake
        end
 
        prepare_cmds
-               for i in $(find . -name config.guess -or -name config.sub); do
-                       cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
-               done
+               ./autogen.sh
        end
 end