popt: Update to 1.19

Message ID 20230226122141.273595-1-stefan.schantl@ipfire.org
State Accepted
Commit 09a15e603ae6d1afb91fcb11e2b0edcfe430b667
Headers
Series popt: Update to 1.19 |

Commit Message

Stefan Schantl Feb. 26, 2023, 12:21 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 popt/popt.nm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
  

Patch

diff --git a/popt/popt.nm b/popt/popt.nm
index 56eb33cee..070dc7f37 100644
--- a/popt/popt.nm
+++ b/popt/popt.nm
@@ -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