!11 subpackage poweredby.png to minimize httpd footprint

From: @zhangqiumiao 
Reviewed-by: @yanan-rock, @licihua 
Signed-off-by: @yanan-rock, @licihua
This commit is contained in:
openeuler-ci-bot 2022-12-13 07:31:22 +00:00 committed by Gitee
commit 5ae18c04e4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: openEuler-logos
Version: 1.0
Release: 7
Release: 8
Summary: openEuler-related icons and pictures
License: Licensed only for approved usage, see COPYING for details.
Source0: openEuler-logos-%{version}.tar.xz
@ -19,6 +19,15 @@ Provides: system-backgrounds-gnome
The openEuler-logos package (the "Package") contains files created by the
openEuler Project.
%package httpd
Summary: openEuler-related icons and pictures used by httpd
Provides: system-logos-httpd = %{version}-%{release}
BuildArch: noarch
%description httpd
The openEuler-logos-httpd package contains image files which incorporate the
openEuler trademarks (the "Marks").
%prep
%setup -q
@ -79,6 +88,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files
%license COPYING
%exclude %{_datadir}/pixmaps/poweredby.png
%{_datadir}/backgrounds/*
%{_datadir}/glib-2.0/schemas/*.override
%{_datadir}/gnome-background-properties/*.xml
@ -89,7 +99,14 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/anaconda/pixmaps/*
%{_datadir}/icons/hicolor/*/apps/*
%files httpd
%license COPYING
%{_datadir}/pixmaps/poweredby.png
%changelog
* Mon Nov 28 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1.0-8
- subpackage poweredby.png to minimize httpd footprint
* Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0-7
- Not use hardlink absolute path