Accepting request 991166 from home:sbradnick
- A few changes related to local builds of Leap 15.4 referencing 150500 OBS-URL: https://build.opensuse.org/request/show/991166 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=108
This commit is contained in:
parent
ac8b7a6eb4
commit
721d14f2e1
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:421acad26935530e6cb219eeb5fa91bd235d4ebd4f16d093f9f6275a0d85cbce
|
||||
size 50052340
|
||||
oid sha256:e25cc822fde17056f1df74fb37a645de05998312d3cfb05a0f06993a746e759a
|
||||
size 50480925
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 26 01:52:30 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
|
||||
|
||||
- A few changes related to local builds of Leap 15.4 referencing 150500
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 22 20:22:17 UTC 2022 - scott.bradnick@suse.com
|
||||
|
||||
|
18
xpra.spec
18
xpra.spec
@ -46,9 +46,14 @@ BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: hicolor-icon-theme
|
||||
# Needed for proper OS detection by setup.py
|
||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||
### 20220725, smb: This line seems to goof up 15.4; 15.3 gets "openSUSE-release", 15.4 gets "dummy-release" this way
|
||||
#%%if 0%%{?suse_version} >= 1550 || 0%%{?sle_version} >= 150500
|
||||
#####
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%define using_release "distribution-release"
|
||||
BuildRequires: distribution-release
|
||||
%else
|
||||
%define using_release "openSUSE-release"
|
||||
BuildRequires: openSUSE-release
|
||||
%endif
|
||||
# ---------
|
||||
@ -146,6 +151,12 @@ sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \
|
||||
|
||||
%build
|
||||
|
||||
### DEBUGGING
|
||||
echo "using_release: %using_release"
|
||||
echo "sle_version: %sle_version"
|
||||
echo "suse_version: %suse_version"
|
||||
#####
|
||||
|
||||
export CFLAGS="%{optflags}"
|
||||
%if 0%{?suse_version} <= 1500
|
||||
export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
|
||||
@ -192,7 +203,10 @@ rm -rf %{buildroot}%{_datadir}/xpra/cuda
|
||||
mkdir -pv %{buildroot}%{_sbindir}
|
||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
%if ( 0%{?sle_version} == 150300 || 0%{?sle_version} == 150400 ) && 0%{?is_opensuse}
|
||||
# 150300 == OBS build of Leap 15.3
|
||||
# 150400 == OBS build of Leap 15.4
|
||||
# 150500 == local build of Leap 15.4
|
||||
%if ( 0%{?sle_version} == 150300 || 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500 ) && 0%{?is_opensuse}
|
||||
mkdir -vp %{buildroot}%{_libexecdir}/%{name}
|
||||
mv -v %{buildroot}%{_prefix}/libexec/%{name}/* %{buildroot}%{_libexecdir}/%{name}
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user