Hello community, here is the log from the commit of package xbanner for openSUSE:Factory checked in at 2014-10-23 14:20:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xbanner (Old) and /work/SRC/openSUSE:Factory/.xbanner.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "xbanner" Changes: -------- --- /work/SRC/openSUSE:Factory/xbanner/xbanner.changes 2012-02-25 14:12:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xbanner.new/xbanner.changes 2014-10-23 14:20:57.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Oct 19 03:54:59 UTC 2014 - crrodriguez@opensuse.org + +- run spec cleanup +- Only builrequire selected X libraries, not xorg-x11-devel + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xbanner.spec ++++++ --- /var/tmp/diff_new_pack.T68qjd/_old 2014-10-23 14:21:00.000000000 +0200 +++ /var/tmp/diff_new_pack.T68qjd/_new 2014-10-23 14:21:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xbanner # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,6 @@ Name: xbanner -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel Version: 1.31 Release: 0 Summary: X Window System background writings and images @@ -26,8 +24,10 @@ Group: Amusements/Toys/Background Url: http://www.hijinks.com/~spade/linux/XBanner/ Source: XBanner%{version}.tar.bz2 -Patch: XBanner%{version}.dif +Patch0: XBanner%{version}.dif Patch1: xbanner-%{version}-gets.patch +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xpm) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -35,29 +35,29 @@ your company's logo? It will work with xbanner which is designed for use with, for example, XDM login screens. -Many example configurations may be found in /usr/share/xbanner and its +Many example configurations may be found in %{_datadir}/xbanner and its subdirectories. -Documentation lies in /usr/share/doc/packages/xbanner. There you can +Documentation lies in %{_docdir}/xbanner. There you can find an HTML version of the documents. %prep -%setup -n XBanner%{version} -%patch +%setup -q -n XBanner%{version} +%patch0 %patch1 %build xmkmf -a -make +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install +make DESTDIR=%{buildroot} install %{?_smp_mflags} # # examples # BINDIR=../../../bin -DEMODIR=$RPM_BUILD_ROOT/usr/share/xbanner -APPDEF=$RPM_BUILD_ROOT/usr/share/X11/app-defaults/ +DEMODIR=%{buildroot}%{_datadir}/xbanner +APPDEF=%{buildroot}%{_datadir}/X11/app-defaults/ install -d $DEMODIR (cd samples/ && cp -a * $DEMODIR) (cd $DEMODIR/Demo @@ -73,19 +73,17 @@ # # docs # -DOCDIR=$RPM_BUILD_ROOT/$RPM_DOC_DIR/xbanner +DOCDIR=%{buildroot}/$RPM_DOC_DIR/xbanner install -d $DOCDIR install -m 644 *.xpm $DEMODIR install -m 644 docs/{C*,*.html,*.gif} $DOCDIR -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) -/usr/share/xbanner/ +%{_datadir}/xbanner/ %doc %{_docdir}/xbanner/ -/usr/bin/* -%config /usr/share/X11/app-defaults/XBanner +%{_bindir}/* +%dir %{_datadir}/X11/app-defaults +%config %{_datadir}/X11/app-defaults/XBanner %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org