Hello community,

here is the log from the commit of package rdesktop for openSUSE:Factory 
checked in at 2015-08-11 08:27:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rdesktop (Old)
 and      /work/SRC/openSUSE:Factory/.rdesktop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rdesktop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rdesktop/rdesktop.changes        2014-12-30 
00:51:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rdesktop.new/rdesktop.changes   2015-08-11 
08:27:13.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 10 14:44:54 UTC 2015 - mplus...@suse.com
+
+- Use url for source
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rdesktop.spec ++++++
--- /var/tmp/diff_new_pack.OBsMXG/_old  2015-08-11 08:27:13.000000000 +0200
+++ /var/tmp/diff_new_pack.OBsMXG/_new  2015-08-11 08:27:14.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rdesktop
 #
-# 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,27 +17,28 @@
 
 
 Name:           rdesktop
+Version:        1.8.3
+Release:        0
 Summary:        A Remote Desktop Protocol client
 License:        GPL-3.0+
 Group:          Productivity/Networking/Other
-#Group:          Productivity/Networking/Remote Desktop
-Version:        1.8.3
-Release:        0
 Url:            http://www.rdesktop.org/
-Source:         %{name}-%{version}.tar.gz
+Source:         
http://prdownloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
 ## FIX-openSUSE: remove "Don't depend on pkg-config"
 Patch0:         rdesktop-fix_pkgconfig_check.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  alsa-devel
+BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libgssglue-devel
 BuildRequires:  libsamplerate-devel
+BuildRequires:  libtool
 BuildRequires:  openssl-devel
 BuildRequires:  pcsc-lite-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(ao)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xrandr)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 rdesktop is an open source client for Windows NT Terminal Server and
@@ -46,37 +47,33 @@
 Unlike Citrix ICA, no server extensions are required.
 
 %prep
-%setup
+%setup -q
 %patch0
 ## rpmlint
 # incorrect-fsf-address /usr/share/rdesktop/keymaps/convert-map
 perl -p -i -e 's|^# Foundation.*|# Foundation, 51 Franklin Street, Suite 500, 
Boston, MA 02110-1335, USA|' keymaps/convert-map
 
 %build
-autoreconf --force --install --verbose
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+autoreconf -fiv
+CFLAGS="%{optflags} -fno-strict-aliasing" \
 %configure \
   --enable-smartcard \
-  --with-openssl=/usr \
+  --with-openssl=%{_prefix} \
   --with-ipv6
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT STRIP=true install
-make DESTDIR=$RPM_BUILD_ROOT installman
-mkdir -p $RPM_BUILD_ROOT/usr/share/rdesktop
-cp -r keymaps $RPM_BUILD_ROOT/usr/share/rdesktop
-chmod -R a+r $RPM_BUILD_ROOT/usr/share/rdesktop/keymaps
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} STRIP=true install
+make DESTDIR=%{buildroot} installman
+mkdir -p %{buildroot}%{_datadir}/rdesktop
+cp -r keymaps %{buildroot}%{_datadir}/rdesktop
+chmod -R a+r %{buildroot}%{_datadir}/rdesktop/keymaps
 
 %files
 %defattr(-,root,root,755)
 %doc COPYING doc README
-/usr/bin/rdesktop
-/usr/share/rdesktop
-#/usr/bin/rdp-srvr
+%{_bindir}/rdesktop
+%{_datadir}/rdesktop
 %{_mandir}/man1/rdesktop.1.gz
 
 %changelog


Reply via email to