From 01992645ffeeaa8e3ba94a1d9cdbe2c3c304b314 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Feb 15 2016 07:46:02 +0000 Subject: Patched to use mcs as dmcs is no longer available --- diff --git a/gnome-subtitles-1.3-mcs.patch b/gnome-subtitles-1.3-mcs.patch new file mode 100644 index 0000000..f928a8b --- /dev/null +++ b/gnome-subtitles-1.3-mcs.patch @@ -0,0 +1,26 @@ +diff -up gnome-subtitles-1.3/configure.ac.mcs gnome-subtitles-1.3/configure.ac +--- gnome-subtitles-1.3/configure.ac.mcs 2016-02-15 08:39:13.510065864 +0100 ++++ gnome-subtitles-1.3/configure.ac 2016-02-15 08:39:56.805439884 +0100 +@@ -35,7 +35,7 @@ fi + + dnl C# compiler + AC_PATH_PROG(CSC, csc, no) +-AC_PATH_PROG(MCS, dmcs, no) ++AC_PATH_PROG(MCS, mcs, no) + AC_PATH_PROG(MONO, mono, no) + + CS="C#" +diff -up gnome-subtitles-1.3/configure.mcs gnome-subtitles-1.3/configure +--- gnome-subtitles-1.3/configure.mcs 2016-02-15 08:39:25.206166905 +0100 ++++ gnome-subtitles-1.3/configure 2016-02-15 08:40:37.302789732 +0100 +@@ -13593,8 +13593,8 @@ $as_echo "no" >&6; } + fi + + +-# Extract the first word of "dmcs", so it can be a program name with args. +-set dummy dmcs; ac_word=$2 ++# Extract the first word of "mcs", so it can be a program name with args. ++set dummy mcs; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } + if ${ac_cv_path_MCS+:} false; then : diff --git a/gnome-subtitles.spec b/gnome-subtitles.spec index 18eb9cf..07bc4c5 100644 --- a/gnome-subtitles.spec +++ b/gnome-subtitles.spec @@ -1,12 +1,13 @@ Name: gnome-subtitles Version: 1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Subtitle editor for Gnome #Files under src/External/NCharDet are MPLv1.1 or GPLv2+ or LGPLv2+ License: GPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+) URL: http://gnome-subtitles.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Patch0: %{name}-%{version}-mcs.patch BuildRequires: desktop-file-utils BuildRequires: gnome-doc-utils @@ -35,6 +36,7 @@ translation and synchronization. %prep %setup -q +%patch0 -p1 -b .mcs %build @@ -127,6 +129,9 @@ update-desktop-database &> /dev/null || : %changelog +* Mon Feb 15 2016 Julian Sikorski - 1.3-9 +- Patched to use mcs as dmcs is no longer available + * Wed Feb 03 2016 Fedora Release Engineering - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild