commit 0d5f882ec329fde6b939b168a0809c30c9734222
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Sep 8 13:46:20 2017 +0100
Update to 2.4.0
.gitignore | 1 +
openshot.spec | 16 ++++++++--------
sources | 2 +-
3 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6caa173..7802f2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ openshot-1.4.3.tar.gz
/openshot-qt-2.3.1.tar.gz
/openshot-qt-2.3.3.tar.gz
/openshot-qt-2.3.4.tar.gz
+/openshot-qt-2.4.0.tar.gz
diff --git a/openshot.spec b/openshot.spec
index 80a7b7f..e139f68 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -2,7 +2,7 @@
%global find_lang %{_sourcedir}/openshot-find-lang.sh %{buildroot}
Name: openshot
-Version: 2.3.4
+Version: 2.4.0
Release: 1%{?dist}
Summary: Create and edit videos and movies
@@ -66,11 +66,11 @@ Requires: %{name} = %{version}-%{release}
%build
-%{__python3} setup.py build
+%py3_build
%install
-%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
+%py3_install
# We strip bad shebangs (/usr/bin/env) instead of fixing them
# since these files are not executable anyways
@@ -98,20 +98,15 @@ convert xdg/openshot-qt.png -virtual-pixel Transparent -set
option:distort:viewp
%post
-/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-update-desktop-database &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
- /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-update-desktop-database &> /dev/null || :
%posttrans
-/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@@ -132,6 +127,11 @@ update-desktop-database &> /dev/null || :
%changelog
+* Fri Sep 08 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 2.4.0-1
+- Update to 2.4.0
+- Use python macros
+- Remove obsolete scriptlets
+
* Sun Sep 03 2017 Sérgio Basto <sergio(a)serjux.com> - 2.3.4-1
- Update to 2.3.4
diff --git a/sources b/sources
index e6677ac..30a0155 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1635e4f5b4ac10f95de55bf94a35f531 openshot-qt-2.3.4.tar.gz
+02710eb7698d0cd690b6c6e579ea8e7a openshot-qt-2.4.0.tar.gz
Show replies by date