[packages/accountsservice] - force proper version (used in accountsservice.pc); release 2

qboosh qboosh at pld-linux.org
Sun Apr 17 10:16:31 CEST 2022


commit cccd16c0b086a5c48e799f581f1c7140109303a3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 17 10:16:41 2022 +0200

    - force proper version (used in accountsservice.pc); release 2

 accountsservice.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/accountsservice.spec b/accountsservice.spec
index e079895..b736279 100644
--- a/accountsservice.spec
+++ b/accountsservice.spec
@@ -11,7 +11,7 @@ Summary:	D-Bus interface for user accounts management
 Summary(pl.UTF-8):	Interfejs D-Bus do zarządzania kontami użytkowników
 Name:		accountsservice
 Version:	22.08.8
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Applications/System
 Source0:	https://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz
@@ -131,6 +131,9 @@ Dokumentacja API accountsservice.
 %prep
 %setup -q
 
+# too hacky, works with bash or pdksh, but not with mksh; override version in hard way
+%{__sed} -i -e '2a echo "%{version}" ; exit 0' generate-version.sh
+
 %if %{with static_libs}
 %{__sed} -i -e 's/shared_library/library/' src/libaccountsservice/meson.build
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/accountsservice.git/commitdiff/cccd16c0b086a5c48e799f581f1c7140109303a3



More information about the pld-cvs-commit mailing list