summaryrefslogtreecommitdiffstats
path: root/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec')
-rw-r--r--redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec b/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
index 54e03d604..da5536070 100644
--- a/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
+++ b/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
@@ -927,6 +927,7 @@ Requires: trinity-libdcop-c = %{version}-%{release}
Summary: Development files for %{name}
Group: Development/Libraries
Requires: trinity-tdelibs-devel
+Requires: %{name} = %{version}-%{release}
Obsoletes: trinity-kdebindings-devel < %{version}-%{release}
Provides: trinity-kdebindings-devel = %{version}-%{release}
@@ -958,6 +959,10 @@ Development files for the TDE bindings.
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch7 -p1 -b .dcopjavaldflags
+%if "%{?perl_vendorarch}" == ""
+exit 1
+%endif
+
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
%patch18 -p1 -b .ruby
%endif