[packages/libutempter] - added URL, versioned Obsoletes

qboosh qboosh at pld-linux.org
Fri Oct 6 21:29:47 CEST 2023


commit ffa13dc655fb39dc09e08f83f5ae6d6ccedc83a1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 6 21:19:41 2023 +0200

    - added URL, versioned Obsoletes

 libutempter.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libutempter.spec b/libutempter.spec
index a20fc9d..1513ddb 100644
--- a/libutempter.spec
+++ b/libutempter.spec
@@ -13,6 +13,7 @@ Group:		Base
 Source0:	http://ftp.altlinux.org/pub/people/ldv/utempter/%{name}-%{version}.tar.gz
 # Source0-md5:	afe828ce87262d7e043770553004e162
 Patch0:		%{name}-utmp-cleanup.patch
+URL:		https://github.com/altlinux/libutempter
 BuildRequires:	rpmbuild(macros) >= 1.202
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
@@ -20,8 +21,8 @@ Requires(post,postun):	/sbin/ldconfig
 Requires(postun):	/usr/sbin/groupdel
 Provides:	group(utmp)
 Provides:	utempter = %{utempter_compat_ver}
-Obsoletes:	libutempter0
-Obsoletes:	utempter
+Obsoletes:	libutempter0 < 1
+Obsoletes:	utempter < 0.5.6
 Conflicts:	rc-scripts < 0.4.9-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,8 +63,8 @@ Summary(pl.UTF-8):	Plik nagłówkowy biblioteki utemptera
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Provides:	utempter-devel = %{utempter_compat_ver}
-Obsoletes:	libutempter0-devel
-Obsoletes:	utempter-devel
+Obsoletes:	libutempter0-devel < 1
+Obsoletes:	utempter-devel < 0.5.6
 
 %description devel
 Header file for utempter library.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libutempter.git/commitdiff/ffa13dc655fb39dc09e08f83f5ae6d6ccedc83a1



More information about the pld-cvs-commit mailing list