Accepting request 1154086 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1154086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libquvi?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2024-03-01 22:39:34 +00:00 committed by Git OBS Bridge
commit 1394433197
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 1 08:55:44 UTC 2024 - pgajdos@suse.com
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Apr 22 13:56:03 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -74,12 +74,12 @@ URLs with C API.
%prep
%setup -q
if test -f %{_sourcedir}/%{name}.changes ; then
%patch0
%patch -P 0
echo "timestamp for BUILD_TIME" >stamp-build-time
touch -d "$(sed -n '2s/ - .*$//p' <%{_sourcedir}/%{name}.changes)" stamp-build-time
fi
%patch1 -p1
%patch2 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%build
export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE"