Problem with patching fixed. New version for makemkv

This commit is contained in:
2017-04-18 21:44:17 +02:00
parent f0e745617f
commit 6457a7a6d1
2 changed files with 29 additions and 8 deletions

View File

@@ -3,13 +3,13 @@
#
Name: makemkv
Version: 1.10.4
Version: 1.10.5
Release: 0%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: One click DVD and Blu-ray converter
Url: http://www.makemkv.com
Source0: %{name}-oss-%{version}.tar.gz
Source1: %{name}-bin-%{version}.tar.gz
Url: http://www.makemkv.com/download/
Source0: http://www.%{name}.com/download/%{name}-oss-%{version}.tar.gz
Source1: http://www.%{name}.com/download/%{name}-bin-%{version}.tar.gz
# patch to disable the eula asking (interactive!)
Source2: makemkv_eula.patch
License: Comercial
@@ -61,7 +61,9 @@ Attention: To make it work, you need rpmfusion-free-updates repository configure
pushd %{_builddir}
tar xzf %{S:1}
patch -p0 < %{S:2}
popd
pushd %{_builddir}/%{name}-bin-%{version}
patch -p1 < %{S:2}
popd
%install
@@ -75,7 +77,7 @@ popd
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_prefix}/lib/*
%{_libdir}/*
%{_datarootdir}/icons/hicolor/*/apps/makemkv.png
%{_datarootdir}/applications/makemkv.desktop
%{_datarootdir}/MakeMKV/*