From 809ce0df80543c2f46863b3d299017f19a6a24c0 Mon Sep 17 00:00:00 2001 From: "jiyong.min" Date: Thu, 2 Mar 2023 12:27:50 +0900 Subject: [PATCH] Remove the doc package that contains manual files - The tools(cjpeg/djpeg/jpegtran/rdjpgcom/wrjpgcom) are not included in the package. Therefore, the related manual files are also unnecessary. Change-Id: Ibaf283d659b7bf3de2a937288d772895dd9edbfb --- packaging/libjpeg-turbo.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packaging/libjpeg-turbo.spec b/packaging/libjpeg-turbo.spec index ca8307f..491533e 100644 --- a/packaging/libjpeg-turbo.spec +++ b/packaging/libjpeg-turbo.spec @@ -2,7 +2,7 @@ Name: libjpeg-turbo Version: 2.1.4 -Release: 0 +Release: 1 Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files License: BSD License (BSD 3-clause, Historic Permission Notice and Disclaimer, libjpeg License) Group: Graphics & UI Framework/Libraries @@ -75,13 +75,12 @@ rm %{buildroot}%{_bindir}/* # Remove docs, we'll select docs manually rm -rf %{buildroot}%{_datadir}/doc/ +rm -rf %{buildroot}%{_mandir}/man1/ %post -n libjpeg -p /sbin/ldconfig %postun -n libjpeg -p /sbin/ldconfig -%docs_package - %files %manifest %{name}.manifest %defattr(-,root,root) -- 2.7.4