From b593318c219e7adb2df86dcf26913c259df32d91 Mon Sep 17 00:00:00 2001 From: Zhao Hang Date: Sat, 16 Jul 2022 10:36:35 +0800 Subject: [PATCH] spec: add provides and requires Signed-off-by: Zhao Hang --- adcli.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/adcli.spec b/adcli.spec index 3fc795c..631ec82 100644 --- a/adcli.spec +++ b/adcli.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: adcli Version: 0.8.2 -Release: 12%{?dist} +Release: 12%{anolis_release}%{?dist} Summary: Active Directory enrollment License: LGPLv2+ URL: http://cgit.freedesktop.org/realmd/adcli @@ -178,6 +180,9 @@ BuildRequires: libxslt BuildRequires: xmlto Requires: cyrus-sasl-gssapi +Requires: glibc + +Provides: /usr/sbin/%{name} # adcli no longer has a library of development files # the adcli tool itself is to be used by callers @@ -216,7 +221,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %files %{_sbindir}/adcli -%doc AUTHORS COPYING ChangeLog NEWS README %doc %{_mandir}/*/* %package doc @@ -230,8 +234,12 @@ documentation. %files doc %doc %{_datadir}/doc/adcli/* +%doc AUTHORS COPYING ChangeLog NEWS README %changelog +* Sat Jul 16 2022 Zhao Hang - 0.8.2-12.0.1 +- Add provides and requires + * Mon Jun 14 2021 Sumit Bose - 0.8.2-12 - [RFE] Allow adcli to create AD user with password as well as set or reset existing user password [#1952828] -- Gitee