summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/qt3-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/qt3/qt3-3.5.13.2.spec')
-rw-r--r--opensuse/core/qt3/qt3-3.5.13.2.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/opensuse/core/qt3/qt3-3.5.13.2.spec b/opensuse/core/qt3/qt3-3.5.13.2.spec
index a50af8db8..32263d8d4 100644
--- a/opensuse/core/qt3/qt3-3.5.13.2.spec
+++ b/opensuse/core/qt3/qt3-3.5.13.2.spec
@@ -59,7 +59,7 @@ Patch135: parseFontName.diff
Patch136: qt3-no-date.diff
Patch139: gcc46.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#Remember also to modify Requires in -devel package
BuildRequires: c++_compiler
@@ -82,10 +82,10 @@ BuildRequires: glu-devel
%if %suse_version >= 1310
BuildRequires: libpng16-compat-devel
%endif
-%if %suse_version >= 1210 && %suse_version < 1300
+%if %suse_version == 1230
BuildRequires: libpng15-compat-devel
%endif
-%if %suse_version >= 1110 && %suse_version < 1200
+%if %suse_version >= 1110 && %suse_version <= 1220
BuildRequires: libpng14-compat-devel
%endif
@@ -338,7 +338,7 @@ fi
%lang(zh) /usr/lib/qt3/translations/qt_zh-tw.qm
%config(noreplace) /etc/X11/qtrc
%ifarch s390x sparc64 x86_64 ppc64 mips64
-%dir %{_libdir}/qt3
+%{_libdir}/qt3
%endif
%files devel