diff --git a/dump.spec b/dump.spec index 36b0bb2f44d692da5a4f0e3c2321258324a67376..4cf55e2702b771cf7597178a42bae98c39913037 100644 --- a/dump.spec +++ b/dump.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %define PREVER b46 %define DUMP_VERSION 0.4%{PREVER} @@ -21,6 +21,7 @@ BuildRequires: lzo-devel, libtool # group is created before installation (#60461) Requires: setup Requires: rmt +Requires: glibc Obsoletes: dump-static Provides: dump-static @@ -39,6 +40,14 @@ directory subtrees may also be restored from full or partial backups. Install dump if you need a system for both backing up filesystems and restoring filesystems after backups. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n dump-%{DUMP_VERSION} @@ -97,8 +106,6 @@ rm -rf %{buildroot} %files %defattr(-,root,root) -%doc AUTHORS COPYING INSTALL KNOWNBUGS MAINTAINERS NEWS README REPORTING-BUGS TODO -%doc dump.lsm %attr(0664,root,disk) %config(noreplace) %{_sysconfdir}/dumpdates %{_sbindir}/dump %{_sbindir}/rdump @@ -109,7 +116,14 @@ rm -rf %{buildroot} %{_mandir}/man8/restore.8* %{_mandir}/man8/rrestore.8* +%files doc +%doc AUTHORS COPYING INSTALL KNOWNBUGS MAINTAINERS NEWS README REPORTING-BUGS TODO +%doc dump.lsm + %changelog +* Sun Jul 17 2022 Bo Ren - 0.4-0.36.b46.0.2 +- Add doc sub package + * Tue Nov 23 2021 Weitao Zhou 0.4-0.36.b46.0.1 - Fix FTBFS by enabling '-fcommon' for compatible with gcc10 build