Hello community,

here is the log from the commit of package lprof for openSUSE:Factory checked 
in at 2015-05-02 21:35:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lprof (Old)
 and      /work/SRC/openSUSE:Factory/.lprof.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lprof"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lprof/lprof.changes      2014-06-30 
21:50:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lprof.new/lprof.changes 2015-05-02 
21:35:46.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 27 14:02:56 UTC 2015 - mplus...@suse.com
+
+- Use url for source
+- Clenup spec file with spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  lprof-1.11.4.1.tar.bz2

New:
----
  lprof-1.11.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lprof.spec ++++++
--- /var/tmp/diff_new_pack.z7Txyf/_old  2015-05-02 21:35:47.000000000 +0200
+++ /var/tmp/diff_new_pack.z7Txyf/_new  2015-05-02 21:35:47.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lprof
 #
-# 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
@@ -17,25 +17,25 @@
 
 
 Name:           lprof
-BuildRequires:  libdrm-devel
-BuildRequires:  liblcms-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  qt3-devel-doc
-BuildRequires:  qt3-devel-tools
-BuildRequires:  scons
-BuildRequires:  update-desktop-files
-BuildRequires:  vigra-devel
 Version:        1.11.4.1
 Release:        0
-Url:            http://lprof.sourceforge.net/
 Summary:        ICC Profiler
 License:        GPL-2.0+
 Group:          Productivity/Graphics/Other
-Source:         %{name}-%{version}.tar.bz2
-Patch:          lprof-desktop.patch
+Url:            http://lprof.sourceforge.net/
+Source:         
http://sourceforge.net/projects/lprof/files/lprof/lprof-1.11.4/%{name}-%{version}.tar.gz
+Patch0:         lprof-desktop.patch
 Patch1:         lprof-lcms.patch
 Patch2:         lprof-scons.patch
 Patch3:         argyll-typo.patch
+BuildRequires:  libdrm-devel
+BuildRequires:  liblcms-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  qt3-devel-doc
+BuildRequires:  qt3-devel-tools
+BuildRequires:  scons
+BuildRequires:  update-desktop-files
+BuildRequires:  vigra-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -44,16 +44,9 @@
 monitors, and fills a necessary niche in the emerging open source color
 management effort.
 
-
-
-Authors:
---------
-    Hal Engel <hven...@users.sourceforge.net>
-    Marti Maria <ma...@littlecms.com>
-
 %prep
-%setup
-%patch
+%setup -q
+%patch0
 %patch1
 %patch2
 %patch3
@@ -65,39 +58,36 @@
   find -name Makefile
 ) | while read ; do
   sed -i "
-s:/lib:/%_lib:g
-s:\(os.path.join\|qtdir\)\(.*\)'lib':\1\2'%_lib':g
-s:src/%_lib:src/lib:g
-s:usr/%_lib/qt3:usr/lib/qt3:g
+s:/lib:/%{_lib}:g
+s:\(os.path.join\|qtdir\)\(.*\)'lib':\1\2'%{_lib}':g
+s:src/%{_lib}:src/lib:g
+s:usr/%{_lib}/qt3:usr/lib/qt3:g
 s/%{_lib}lprof/liblprof/g
 s:%{_lib}qtlcmswidgets:libqtlcmswidgets:g
 " $REPLY
 done
 
 %build
-export QTDIR=/usr/lib/qt3
+export QTDIR=%{_libexecdir}/qt3
 cat >lprof.conf <<EOF
 PREFIX = '%{_prefix}'
-ccflags = [$(echo $RPM_OPT_FLAGS | sed -e "s/[^ ]*/'&'/g" -e "s/ /,/g")]
-cxxflags = [$(echo $RPM_OPT_FLAGS | sed -e "s/[^ ]*/'&'/g" -e "s/ /,/g")]
+ccflags = [$(echo %{optflags} | sed -e "s/[^ ]*/'&'/g" -e "s/ /,/g")]
+cxxflags = [$(echo %{optflags} | sed -e "s/[^ ]*/'&'/g" -e "s/ /,/g")]
 EOF
-scons %{?jobs:-j %jobs}
+scons %{?_smp_mflags}
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/{applications,pixmaps}}
-PREFIX=$RPM_BUILD_ROOT/usr scons PREFIX=$RPM_BUILD_ROOT/usr install
+mkdir -p %{buildroot}%{_prefix}/{bin,share/{applications,pixmaps}}
+PREFIX=%{buildroot}%{_prefix} scons PREFIX=%{buildroot}%{_prefix} install
 %suse_update_desktop_file lprof
-find $RPM_BUILD_ROOT/usr/share/lprof/data -type f -print0 | xargs -0 chmod 644
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+find %{buildroot}%{_datadir}/lprof/data -type f -print0 | xargs -0 chmod 644
 
 %files
 %defattr (-, root, root)
 %doc COPYING KNOWN_BUGS README sRGB_profile_License
-/usr/bin/*
-/usr/share/lprof
-/usr/share/applications/*.desktop
-/usr/share/pixmaps/*.png
+%{_bindir}/*
+%{_datadir}/lprof
+%{_datadir}/applications/*.desktop
+%{_datadir}/pixmaps/*.png
 
 %changelog


Reply via email to