From 92920e5512b6c2ac7c056c9a5cc99defc9dace99a999b74806874c964044e803 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 27 Apr 2015 05:43:30 +0000 Subject: [PATCH] Accepting request 304094 from home:elvigia:branches:Base:System - Only BuildRequire the needed packages, not legacy metapackage xorg-x11-devel. OBS-URL: https://build.opensuse.org/request/show/304094 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=34 --- x3270.changes | 6 ++++++ x3270.spec | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/x3270.changes b/x3270.changes index 5d2bfd8..bbfc4ec 100644 --- a/x3270.changes +++ b/x3270.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Apr 26 19:23:56 UTC 2015 - crrodriguez@opensuse.org + +- Only BuildRequire the needed packages, not legacy + metapackage xorg-x11-devel. + ------------------------------------------------------------------- Mon Apr 20 13:32:51 UTC 2015 - mpluskal@suse.com diff --git a/x3270.spec b/x3270.spec index 5b9b812..eb2bbf4 100644 --- a/x3270.spec +++ b/x3270.spec @@ -36,11 +36,16 @@ BuildRequires: bdftopcf BuildRequires: fdupes BuildRequires: fontpackages-devel BuildRequires: freetype2 +BuildRequires: imake +BuildRequires: mkfontdir BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: tcl-devel -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xmu) +BuildRequires: pkgconfig(xpm) +BuildRequires: pkgconfig(xt) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -222,6 +227,7 @@ cp -pr --parents tcl3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%{name} %{_bindir}/x3270if # x3270 %{_bindir}/x3270 +%dir %{_datadir}/X11/app-defaults %{_datadir}/X11/app-defaults/X3270 %dir %{_miscfontsdir} %{_miscfontsdir}/*