Hello community, here is the log from the commit of package motif for openSUSE:Factory checked in at 2015-04-02 16:03:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/motif (Old) and /work/SRC/openSUSE:Factory/.motif.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "motif" Changes: -------- --- /work/SRC/openSUSE:Factory/motif/motif.changes 2014-11-02 16:46:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.motif.new/motif.changes 2015-04-02 16:03:16.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Mar 28 12:44:56 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner +- Remove old ppc obsoletes/provides + +------------------------------------------------------------------- Old: ---- motif-2.3.4-src.tar.bz2 New: ---- motif-2.3.4-src.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ motif.spec ++++++ --- /var/tmp/diff_new_pack.IckRqT/_old 2015-04-02 16:03:17.000000000 +0200 +++ /var/tmp/diff_new_pack.IckRqT/_new 2015-04-02 16:03:17.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package motif # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,9 +23,7 @@ License: LGPL-2.1+ Group: System/Libraries Url: http://motif.ics.com/ - -# generated from _service -Source: %{name}-%{version}-src.tar.bz2 +Source0: http://sourceforge.net/projects/motif/files/Motif%20%{version}%20Source%20Code/%{name}-%{version}-src.tgz Source1: mwm.desktop Source2: baselibs.conf Patch0: openmotif-2.3.3.diff @@ -91,8 +89,8 @@ %package -n libXm4 Summary: Motif runtime library Group: System/Libraries -Provides: openmotif-libs = %version-%release -Obsoletes: openmotif-libs < %version-%release +Provides: openmotif-libs = %{version}-%{release} +Obsoletes: openmotif-libs < %{version}-%{release} %description -n libXm4 This package provides the main Motif shared library. @@ -100,23 +98,19 @@ %package devel Summary: Motif Include Files and Libraries Mandatory for Development Group: Development/Libraries/X11 -Requires: libMrm4 = %version -Requires: libUil4 = %version -Requires: libXm4 = %version +Requires: libMrm4 = %{version} +Requires: libUil4 = %{version} +Requires: libXm4 = %{version} Requires: pkgconfig(printproto) Requires: pkgconfig(x11) Requires: pkgconfig(xft) Requires: pkgconfig(xproto) Requires: pkgconfig(xt) +Conflicts: lesstif-devel Conflicts: lesstifd Conflicts: lestif2d -Conflicts: lesstif-devel -# see bnc#437293 -%ifarch ppc64 -Obsoletes: openmotif-devel-64bit -%endif -Provides: openmotif-devel = %version-%release -Obsoletes: openmotif-devel < %version-%release +Provides: openmotif-devel = %{version}-%{release} +Obsoletes: openmotif-devel < %{version}-%{release} %description devel This package provies the include files and libraries necessary for developing @@ -159,54 +153,59 @@ --enable-png \ --with-pic # parallel make is broken -make MWMRCDIR=/etc/X11 +make --jobs 1 MWMRCDIR=%{_sysconfdir}/X11 %install -make install DESTDIR="%buildroot" MWMRCDIR=/etc/X11 +make install DESTDIR=%{buildroot} MWMRCDIR=%{_sysconfdir}/X11 -install -D -m 0644 %SOURCE1 %{buildroot}/usr/share/xsessions/mwm.desktop -%suse_update_desktop_file %{buildroot}/usr/share/xsessions/mwm.desktop +install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/mwm.desktop +%suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/mwm.desktop -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -n libMrm4 -p /sbin/ldconfig + %postun -n libMrm4 -p /sbin/ldconfig + %post -n libUil4 -p /sbin/ldconfig + %postun -n libUil4 -p /sbin/ldconfig + %post -n libXm4 -p /sbin/ldconfig + %postun -n libXm4 -p /sbin/ldconfig %files %defattr(-, root, root) -%dir %{_prefix}/include/X11/bitmaps -%{_prefix}/include/X11/bitmaps/xm_* +%dir %{_includedir}/X11/bitmaps +%{_includedir}/X11/bitmaps/xm_* %{_datadir}/X11/bindings -%{_prefix}/bin/mwm -%{_prefix}/bin/xmbind -%config /etc/X11/system.mwmrc +%{_bindir}/mwm +%{_bindir}/xmbind +%config %{_sysconfdir}/X11/system.mwmrc %{_mandir}/man1/mwm.1%{ext_man} %{_mandir}/man1/xmbind.1%{ext_man} %{_mandir}/man4/*.4%{ext_man} -/usr/share/xsessions/* +%{_datadir}/xsessions/* %files -n libMrm4 %defattr(-,root,root) -%_libdir/libMrm.so.4* +%{_libdir}/libMrm.so.4* %files -n libUil4 %defattr(-,root,root) -%_libdir/libUil.so.4* +%{_libdir}/libUil.so.4* %files -n libXm4 %defattr(-,root,root) -%_libdir/libXm.so.4* +%{_libdir}/libXm.so.4* %files devel %defattr(-, root, root) -%{_prefix}/bin/uil -%{_prefix}/include/Mrm -%{_prefix}/include/uil -%{_prefix}/include/Xm +%{_bindir}/uil +%{_includedir}/Mrm +%{_includedir}/uil +%{_includedir}/Xm %{_libdir}/*.so %{_mandir}/man1/uil.1%{ext_man} %{_mandir}/man3/*%{ext_man}