forked from pool/distribution-logos-openSUSE
Accepting request 859828 from home:hellcp:branches:Base:System
- Only build Leap subpackage on Leap base and Tumbleweed based distros subpackages on Tumbleweed base OBS-URL: https://build.opensuse.org/request/show/859828 OBS-URL: https://build.opensuse.org/package/show/Base:System/distribution-logos-openSUSE?expand=0&rev=9
This commit is contained in:
parent
8c8f56ba80
commit
ffccacefc1
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 2 11:06:52 UTC 2021 - Stasiek Michalski <stasiek@michalski.cc>
|
||||||
|
|
||||||
|
- Only build Leap subpackage on Leap base and Tumbleweed based
|
||||||
|
distros subpackages on Tumbleweed base
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 17 12:21:00 UTC 2020 - Stasiek Michalski <stasiek@michalski.cc>
|
Tue Nov 17 12:21:00 UTC 2020 - Stasiek Michalski <stasiek@michalski.cc>
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
Logos for openSUSE Distributions
|
Logos for openSUSE Distributions
|
||||||
|
|
||||||
|
%if 0%{?sle_version}
|
||||||
|
|
||||||
%package Leap
|
%package Leap
|
||||||
Summary: Logos for openSUSE Leap
|
Summary: Logos for openSUSE Leap
|
||||||
|
|
||||||
@ -43,6 +45,8 @@ BuildArch: noarch
|
|||||||
%description Leap
|
%description Leap
|
||||||
Logos for openSUSE Leap
|
Logos for openSUSE Leap
|
||||||
|
|
||||||
|
%else
|
||||||
|
|
||||||
%package Tumbleweed
|
%package Tumbleweed
|
||||||
Summary: Logos for openSUSE Tumbleweed
|
Summary: Logos for openSUSE Tumbleweed
|
||||||
|
|
||||||
@ -82,6 +86,8 @@ BuildArch: noarch
|
|||||||
%description MicroOS
|
%description MicroOS
|
||||||
Logos for openSUSE MicroOS
|
Logos for openSUSE MicroOS
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn distribution-logos-master
|
%setup -qn distribution-logos-master
|
||||||
|
|
||||||
@ -89,7 +95,11 @@ Logos for openSUSE MicroOS
|
|||||||
# Skip build
|
# Skip build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
for distro in Leap Tumbleweed Kubic MicroOS; do \
|
%if 0%{?sle_version}
|
||||||
|
for distro in Leap; do \
|
||||||
|
%else
|
||||||
|
for distro in Tumbleweed Kubic MicroOS; do \
|
||||||
|
%endif
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps/distribution-logos; \
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/distribution-logos; \
|
||||||
for file in `ls ${distro}`; do \
|
for file in `ls ${distro}`; do \
|
||||||
cp -r ${distro}/${file} %{buildroot}%{_datadir}/pixmaps/distribution-logos/${file}.${distro}; \
|
cp -r ${distro}/${file} %{buildroot}%{_datadir}/pixmaps/distribution-logos/${file}.${distro}; \
|
||||||
@ -99,9 +109,13 @@ done \
|
|||||||
%files
|
%files
|
||||||
%dir %{_datadir}/pixmaps/distribution-logos
|
%dir %{_datadir}/pixmaps/distribution-logos
|
||||||
|
|
||||||
|
%if 0%{?sle_version}
|
||||||
|
|
||||||
%files Leap
|
%files Leap
|
||||||
%{_datadir}/pixmaps/distribution-logos/*.Leap
|
%{_datadir}/pixmaps/distribution-logos/*.Leap
|
||||||
|
|
||||||
|
%else
|
||||||
|
|
||||||
%files Tumbleweed
|
%files Tumbleweed
|
||||||
%{_datadir}/pixmaps/distribution-logos/*.Tumbleweed
|
%{_datadir}/pixmaps/distribution-logos/*.Tumbleweed
|
||||||
|
|
||||||
@ -111,4 +125,6 @@ done \
|
|||||||
%files MicroOS
|
%files MicroOS
|
||||||
%{_datadir}/pixmaps/distribution-logos/*.MicroOS
|
%{_datadir}/pixmaps/distribution-logos/*.MicroOS
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user