diff --git a/aegisub.changes b/aegisub.changes index 49916ae..27a44e5 100644 --- a/aegisub.changes +++ b/aegisub.changes @@ -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 diff --git a/aegisub.spec b/aegisub.spec index 7d1e019..9b8521d 100644 --- a/aegisub.spec +++ b/aegisub.spec @@ -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 \