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:
parent
2f7dde443e
commit
a5ad666008
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user