Install documentation files to an unversioned directory

This commit is contained in:
Ondřej Lysoněk 2018-10-10 16:53:16 +02:00
parent f13e1eae79
commit 1fe310e52b

View File

@ -1,8 +1,4 @@
%if 0%{?fedora}
%global develdocdir %{_docdir}/%{name}-devel
%else
%global develdocdir %{_docdir}/%{name}-devel-%{version}
%endif
Name: libevent
Version: 2.1.8
@ -131,7 +127,7 @@ mkdir -p $RPM_BUILD_ROOT/%{develdocdir}/sample
%{_bindir}/event_rpcgen.*
%files doc
%{develdocdir}/
%doc %{develdocdir}/
%changelog
* Mon Sep 03 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.1.8-4