commit 7f597a708ccf138489683acf9a82532f583ea68a
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Thu Dec 10 13:08:59 2020 -0500
Switch to %autosetup
cinelerra-gg.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/cinelerra-gg.spec b/cinelerra-gg.spec
index dad4444..01401c4 100644
--- a/cinelerra-gg.spec
+++ b/cinelerra-gg.spec
@@ -118,10 +118,9 @@ BuildArch: noarch
%prep
-%setup -q -n cinelerra-%{git_tag}/cinelerra-5.1
-
-%patch0 -p2 -b.crystal
+%autosetup -p1 -n cinelerra-%{git_tag}
+cd cinelerra-5.1
./autogen.sh
# Fedora 31+ won't have a "python" command
@@ -134,6 +133,7 @@ sed -i 's/\<python\>/python3/' guicast/Makefile
# it breaks OpenEXR detection. It'll be re-enabled before building.
%undefine _hardened_build
+cd cinelerra-5.1
%configure \
--with-exec-name=%{name} \
--disable-static-build \
@@ -192,17 +192,18 @@ sed -i 's/\<python\>/python3/' guicast/Makefile
%install
+pushd cinelerra-5.1
%make_install V=0
+popd
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
-
%find_lang %{name}
%files -f %{name}.lang
-%license COPYING
-%license plugins/theme_neophyte/Neophyte_License.txt
-%doc README
+%license cinelerra-5.1/COPYING
+%license cinelerra-5.1/plugins/theme_neophyte/Neophyte_License.txt
+%doc cinelerra-5.1/README
%{_bindir}/%{name}
%{_bindir}/zmpeg3cc2txt
%{_bindir}/zmpeg3ifochk
Show replies by date