Packages: added man page on rpm-based systems.
This commit is contained in:
@@ -214,7 +214,7 @@ endif
|
|||||||
rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
|
rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
|
||||||
cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \
|
cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \
|
||||||
--transform "s#^#unit-$(VERSION)/#" \
|
--transform "s#^#unit-$(VERSION)/#" \
|
||||||
LICENSE NOTICE CHANGES README configure auto src test version go
|
LICENSE NOTICE CHANGES README configure auto src test version go docs/man/unitd.8.in
|
||||||
|
|
||||||
unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
|
unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
|
||||||
@echo "===> Building $@ package" ; \
|
@echo "===> Building $@ package" ; \
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ Library and include files required for NGINX Unit modules development.
|
|||||||
%install
|
%install
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
%{__ln_s} build-nodebug build
|
%{__ln_s} build-nodebug build
|
||||||
DESTDIR=%{buildroot} make unitd-install libunit-install
|
DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install
|
||||||
%{__install} -m755 %{bdir}/build-debug/unitd \
|
%{__install} -m755 %{bdir}/build-debug/unitd \
|
||||||
%{buildroot}%{_sbindir}/unitd-debug
|
%{buildroot}%{_sbindir}/unitd-debug
|
||||||
%{__install} -m644 %{bdir}/build-debug/libunit.a \
|
%{__install} -m644 %{bdir}/build-debug/libunit.a \
|
||||||
@@ -205,6 +205,7 @@ BANNER
|
|||||||
%dir %{_sharedstatedir}/unit
|
%dir %{_sharedstatedir}/unit
|
||||||
%dir %attr(0700,root,root) %{_localstatedir}/log/unit
|
%dir %attr(0700,root,root) %{_localstatedir}/log/unit
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
|
%{_mandir}/man8/unitd.8*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libunit.a
|
%{_libdir}/libunit.a
|
||||||
|
|||||||
Reference in New Issue
Block a user