diff --git a/adcli.spec b/adcli.spec index 3fc795c69d488895b506b2bc3c7433e13ec3febc..631ec82fafe6df2f044504b24d92181ed18c0ec8 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]