Remove the doc package that contains manual files 40/289140/1 accepted/tizen_8.0_base tizen_8.0_base accepted/tizen/8.0/base/20231005.044849 accepted/tizen/base/20230802.071810 tizen_8.0_m2_release
authorjiyong.min <jiyong.min@samsung.com>
Thu, 2 Mar 2023 03:27:50 +0000 (12:27 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 2 Mar 2023 03:35:46 +0000 (12:35 +0900)
 - 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

index ca8307f..491533e 100644 (file)
@@ -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)