Packages: ship README.md and CONTRIBUTING.md.

This commit is contained in:
Konstantin Pavlov
2022-05-16 17:22:40 +04:00
parent 7662ec5f1b
commit 3e06ae3b34
6 changed files with 13 additions and 7 deletions

View File

@@ -223,7 +223,7 @@ endif
rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \
--transform "s#^#unit-$(VERSION)/#" \
LICENSE NOTICE CHANGES README configure auto src test version go docs/man/unitd.8.in
LICENSE NOTICE CHANGES README.md CONTRIBUTING.md 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
@echo "===> Building $@ package" ; \

View File

@@ -123,7 +123,9 @@ DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install
%{buildroot}%{_datadir}/doc/unit/
%{__install} -m 644 -p NOTICE \
%{buildroot}%{_datadir}/doc/unit/COPYRIGHT
%{__install} -m 644 -p README \
%{__install} -m 644 -p README.md \
%{buildroot}%{_datadir}/doc/unit/
%{__install} -m 644 -p CONTRIBUTING.md \
%{buildroot}%{_datadir}/doc/unit/
%{__rm} -rf %{buildroot}%{_initrddir}/