From 7e431dafbdb8e34c3522efb44cebad77bed43b6d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 26 Sep 2012 23:37:25 +0200 Subject: [PATCH] build: install ChangeLog in /usr/share/doc --- Makefile.am | 1 + redhat/lldpd.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 2bc008a8..b79bcfaf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,6 +7,7 @@ EXTRA_DIST = $(DX_CONFIG) DIST_SUBDIRS = $(SUBDIRS) libevent dist_doc_DATA = README.md NEWS +doc_DATA = ChangeLog # Build changelog from git history dist-hook: $(distdir)/ChangeLog diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 800a1ad0..6661ea22 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -191,6 +191,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %dir %{_docdir}/lldpd %doc %{_docdir}/lldpd/NEWS +%doc %{_docdir}/lldpd/ChangeLog %doc %{_docdir}/lldpd/README.md %{_sbindir}/lldpd %{_sbindir}/lldpctl -- 2.39.5