bump: unity-greeter (#514)

* bump: unity-greeter

Signed-off-by: madomado <wboy111@outlook.com>

* Update unity-greeter.spec

Signed-off-by: madomado <wboy111@outlook.com>

---------

Signed-off-by: madomado <wboy111@outlook.com>
This commit is contained in:
madomado
2023-06-11 00:22:59 +08:00
committed by GitHub
parent 2f256d5d81
commit 3f3fe73e04
2 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
%global rn 1
Name: unity-greeter
Version: 22.04.1
Version: 23.10.1
Release: %autorelease
Summary: Unity Greeter for Lightdm
License: GPL-3.0
URL: https://launchpad.net/unity-greeter
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_%{version}-0ubuntu2.tar.xz
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_%version-0ubuntu%rn.tar.xz
Patch1: 0001-Remove-libido.patch
BuildRequires: automake libtool gnome-common
+3 -1
View File
@@ -1,3 +1,5 @@
let html = get("http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/?C=N;O=D");
let v = find("unity-greeter_([\\d.+]+)-0ubuntu2", html, 1);
let v = find("unity-greeter_([\\d.+]+)-0ubuntu(\d\+)", html, 1);
let rn = find("unity-greeter_([\\d.+]+)-0ubuntu(\d\+)", html, 2);
rpm.version(v);
rpm.global("rn", rn);