Define %license only once and correct %files placement in tools-devel
This commit is contained in:
parent
dcd463c59d
commit
f24346e6a4
@ -393,8 +393,9 @@ fi
|
|||||||
cat diffs
|
cat diffs
|
||||||
echo ===============END TESTING===============
|
echo ===============END TESTING===============
|
||||||
|
|
||||||
%files
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
|
||||||
|
%files
|
||||||
%license COPYING COPYING.DOCS
|
%license COPYING COPYING.DOCS
|
||||||
%doc NEWS README_*
|
%doc NEWS README_*
|
||||||
%doc docs/installed/html docs/installed/*.pdf
|
%doc docs/installed/html docs/installed/*.pdf
|
||||||
@ -409,8 +410,6 @@ echo ===============END TESTING===============
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
|
||||||
%dir %{_includedir}/valgrind
|
%dir %{_includedir}/valgrind
|
||||||
%{_includedir}/valgrind/valgrind.h
|
%{_includedir}/valgrind/valgrind.h
|
||||||
%{_includedir}/valgrind/callgrind.h
|
%{_includedir}/valgrind/callgrind.h
|
||||||
@ -421,9 +420,8 @@ echo ===============END TESTING===============
|
|||||||
%{_libdir}/pkgconfig/valgrind.pc
|
%{_libdir}/pkgconfig/valgrind.pc
|
||||||
|
|
||||||
%if %{build_tools_devel}
|
%if %{build_tools_devel}
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
|
||||||
%files tools-devel
|
%files tools-devel
|
||||||
|
%license COPYING
|
||||||
%{_includedir}/valgrind/config.h
|
%{_includedir}/valgrind/config.h
|
||||||
%{_includedir}/valgrind/libvex*h
|
%{_includedir}/valgrind/libvex*h
|
||||||
%{_includedir}/valgrind/pub_tool_*h
|
%{_includedir}/valgrind/pub_tool_*h
|
||||||
|
Loading…
Reference in New Issue
Block a user