SHA256
1
0
forked from pool/aegisub

- Fix build by keeping non-patch work out of %prep section

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=59
This commit is contained in:
Olaf Hering 2019-07-20 18:45:03 +00:00 committed by Git OBS Bridge
parent 2f7dde443e
commit a5ad666008
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 20 18:44:11 UTC 2019 - olaf@aepfle.de
- Fix build by keeping non-patch work out of %prep section
-------------------------------------------------------------------
Fri Mar 29 13:25:07 UTC 2019 - plater <davejplater@gmail.com>

View File

@ -72,13 +72,14 @@ effects in the subtitles, apart from just basic timed text.
%prep
%setup -q -n %{gitname}-%{_rev}
%autopatch -p1
%build
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
cp %{SOURCE99} .
%build
./autogen.sh
#autoreconf -fvi
%configure \