summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-07 15:44:37 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2017-12-07 15:44:37 -0600
commit528c5a6a954a6734a58bea4de5021000dd268a96 (patch)
treebdd913055a388e50051df7f53612d935a18098ff
parent6c448c3b21982ce314872c2d4262c174ce75c86a (diff)
downloadcygwin-gcc-528c5a6a954a6734a58bea4de5021000dd268a96.tar.gz
cygwin-gcc-528c5a6a954a6734a58bea4de5021000dd268a96.tar.xz
cygwin-gcc-528c5a6a954a6734a58bea4de5021000dd268a96.zip
Fix Provides for !build_vtv
-rw-r--r--cygwin-gcc.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec
index 81783a3..baa9da5 100644
--- a/cygwin-gcc.spec
+++ b/cygwin-gcc.spec
@@ -113,8 +113,10 @@ Provides: cygwin32(cyggcc_s-1.dll)
Provides: cygwin32(cyggomp-1.dll)
Provides: cygwin32(cygquadmath-0.dll)
Provides: cygwin32(cygssp-0.dll)
+%if %{build_vtv}
Provides: cygwin32(cygvtv-0.dll)
Provides: cygwin32(cygvtv_stubs-0.dll)
+%endif
# prevent update errors
Obsoletes: %{name}-java < %{version}-%{release}
Obsoletes: cygwin32-gcc-java < %{version}-%{release}
@@ -219,8 +221,10 @@ Provides: cygwin64(cyggcc_s-seh-1.dll)
Provides: cygwin64(cyggomp-1.dll)
Provides: cygwin64(cygquadmath-0.dll)
Provides: cygwin64(cygssp-0.dll)
+%if %{build_vtv}
Provides: cygwin64(cygvtv-0.dll)
Provides: cygwin64(cygvtv_stubs-0.dll)
+%endif
# prevent update errors
%if ! %{build_ada}
Obsoletes: cygwin64-gcc-gnat < %{version}-%{release}