- readd wine-devel to baselibs.conf
- readd _service and adjust get-sources.sh - readd find-requires OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=1157
This commit is contained in:
parent
b5ab0459f2
commit
0e05c7e175
2
_service
2
_service
@ -3,7 +3,7 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="url">https://github.com/wine-staging/wine-staging.git</param>
|
<param name="url">https://github.com/wine-staging/wine-staging.git</param>
|
||||||
<param name="revision">refs/tags/v9.20</param>
|
<param name="revision">refs/tags/v9.21</param>
|
||||||
<param name="match-tag">v*.*</param>
|
<param name="match-tag">v*.*</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -29,3 +29,4 @@ wine
|
|||||||
requires "libGLU.so.1"
|
requires "libGLU.so.1"
|
||||||
provides "wine-<targettype> = <version>-<release>"
|
provides "wine-<targettype> = <version>-<release>"
|
||||||
conflicts "otherproviders(wine-<targettype>)"
|
conflicts "otherproviders(wine-<targettype>)"
|
||||||
|
wine-devel
|
||||||
|
@ -15,7 +15,8 @@ echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
|||||||
|
|
||||||
sed -i -e 's|Version: .*|Version: '${VERSION}'|g' wine.spec
|
sed -i -e 's|Version: .*|Version: '${VERSION}'|g' wine.spec
|
||||||
osc service mr download_files
|
osc service mr download_files
|
||||||
curl -L -o wine-staging-${VERSION}.tar.gz https://github.com/wine-staging/wine-staging/archive/refs/tags/v${VERSION}.tar.gz
|
sed -i -e "s|tags/v.*<|tags/v${VERSION}<|g" _service
|
||||||
|
osc service dr
|
||||||
|
|
||||||
echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
||||||
echo "Done! Have fun building and testing"
|
echo "Done! Have fun building and testing"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2e8c9cf9e378f99de133c7d86f9f0d5d506305869f4c802cb598f97b2f6bf8a6
|
|
||||||
size 9564841
|
|
3
wine-staging-9.21.tar.xz
Normal file
3
wine-staging-9.21.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8dc224ccdb33ddceb8cbc1240e386ad56c410792e6f63c6926c47e179aaa05dd
|
||||||
|
size 7266088
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 10 09:35:28 UTC 2024 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- readd wine-devel to baselibs.conf
|
||||||
|
- readd _service and adjust get-sources.sh
|
||||||
|
- readd find-requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 9 00:56:55 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
Sat Nov 9 00:56:55 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||||
|
|
||||||
|
19
wine.spec
19
wine.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package wine
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -45,7 +45,7 @@ Source0: https://dl.winehq.org/wine/source/9.x/wine-%{version}.tar.xz
|
|||||||
Source1: https://dl.winehq.org/wine/source/9.x/wine-%{version}.tar.xz.sign
|
Source1: https://dl.winehq.org/wine/source/9.x/wine-%{version}.tar.xz.sign
|
||||||
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xda23579a74d4ad9af9d3f945cefac8eaaf17519d#/wine.keyring
|
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xda23579a74d4ad9af9d3f945cefac8eaaf17519d#/wine.keyring
|
||||||
%if %{staging}
|
%if %{staging}
|
||||||
Source3: https://github.com/wine-staging/wine-staging/archive/v%{version}.tar.gz#/wine-staging-%{version}.tar.gz
|
Source3: https://github.com/wine-staging/wine-staging/archive/v%{version}.tar.gz#/wine-staging-%{version}.tar.xz
|
||||||
%endif
|
%endif
|
||||||
Source97: baselibs.conf
|
Source97: baselibs.conf
|
||||||
Source98: wine.rpmlintrc
|
Source98: wine.rpmlintrc
|
||||||
@ -268,6 +268,21 @@ find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {}
|
|||||||
|
|
||||||
rm -rf %{buildroot}%{_mandir}/{pl,de,fr}.UTF-8
|
rm -rf %{buildroot}%{_mandir}/{pl,de,fr}.UTF-8
|
||||||
|
|
||||||
|
# find the implicit dependencies
|
||||||
|
%define winedir %_builddir/%projectname-%realver
|
||||||
|
cat >%winedir/my-find-requires.sh <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
%{__find_requires}
|
||||||
|
%ifarch x86_64 aarch64
|
||||||
|
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1()(64bit)/;'|sort -u
|
||||||
|
%else
|
||||||
|
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1/;'|sort -u
|
||||||
|
%endif
|
||||||
|
EOF
|
||||||
|
chmod 755 %winedir/my-find-requires.sh
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
%define __find_requires %winedir/my-find-requires.sh
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user