!1 rename docs subpackage as help subpackage

Merge pull request !1 from openeuler-net/init
This commit is contained in:
openeuler-ci-bot 2019-12-26 17:27:56 +08:00 committed by Gitee
commit 347413acf1

View File

@ -3,7 +3,7 @@
Name: dhcp Name: dhcp
Version: 4.3.6 Version: 4.3.6
Release: 32 Release: 33
Summary: Dynamic host configuration protocol software Summary: Dynamic host configuration protocol software
#Please don't change the epoch on this package #Please don't change the epoch on this package
Epoch: 12 Epoch: 12
@ -100,11 +100,7 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
Header files for using the ISC DHCP libraries. The Header files for using the ISC DHCP libraries. The
libdhcpctl and libomapi static libraries are also included in this package. libdhcpctl and libomapi static libraries are also included in this package.
%package doc %package_help
Summary: Documentation files for dhcp.
%description doc
The dhcp-doc package contains documentation files.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
@ -285,20 +281,17 @@ exit 0
%{_libdir}/libomapi.so %{_libdir}/libomapi.so
%attr(0755,root,root) %{_libdir}/pm-utils/sleep.d/56dhclient %attr(0755,root,root) %{_libdir}/pm-utils/sleep.d/56dhclient
%files devel %files devel
%license LICENSE %defattr(-,root,root)
%doc doc/IANA-arp-parameters doc/api+protocol %doc doc/IANA-arp-parameters doc/api+protocol
%{_includedir}/dhcpctl %{_includedir}/dhcpctl
%{_includedir}/omapip %{_includedir}/omapip
%{_includedir}/isc-dhcp %{_includedir}/isc-dhcp
%files doc %files help
%defattr(644,root,root) %defattr(644,root,root)
%doc doc/* %doc doc/*
%license LICENSE
%{_mandir}/man1/omshell.1.gz %{_mandir}/man1/omshell.1.gz
%{_mandir}/man5/dhcpd.conf.5.gz %{_mandir}/man5/dhcpd.conf.5.gz
%{_mandir}/man5/dhcpd.leases.5.gz %{_mandir}/man5/dhcpd.leases.5.gz
@ -314,6 +307,9 @@ exit 0
%{_mandir}/man3/omapi.3.gz %{_mandir}/man3/omapi.3.gz
%changelog %changelog
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.3.6-33
- rename doc subpackage as help subpackage
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.3.6-32 * Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.3.6-32
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA