Hello community,

here is the log from the commit of package udhcp for openSUSE:Factory checked 
in at 2016-01-23 01:16:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/udhcp (Old)
 and      /work/SRC/openSUSE:Factory/.udhcp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "udhcp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/udhcp/udhcp.changes      2014-11-26 
10:34:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.udhcp.new/udhcp.changes 2016-01-23 
01:16:46.000000000 +0100
@@ -2 +2,9 @@
-Wed Nov 19 00:46:00 UTC 2014 - Led <led...@gmail.com>
+Thu Jan 21 09:23:11 UTC 2016 - tchva...@suse.com
+
+- Cleanup a bit with spec-cleaner
+- Obey rpmoptflags
+- Build debug packages bnc#890844
+  * udhcp-do-not-strip.patch
+
+-------------------------------------------------------------------
+Wed Nov 19 00:46:00 UTC 2014 led...@gmail.com

New:
----
  udhcp-do-not-strip.patch

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

Other differences:
------------------
++++++ udhcp.spec ++++++
--- /var/tmp/diff_new_pack.0fKIUz/_old  2016-01-23 01:16:47.000000000 +0100
+++ /var/tmp/diff_new_pack.0fKIUz/_new  2016-01-23 01:16:47.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package udhcp
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,46 +17,39 @@
 
 
 Name:           udhcp
+Version:        0.9.8
+Release:        0
 Summary:        Micro DHCP client / server
 License:        GPL-2.0
 Group:          System/Emulators/PC
-Version:        0.9.8
-Release:        0
 Url:            http://udhcp.busybox.net
 Source0:        %{name}-%{version}.tar.gz
 Patch0:         oracle-rpmbuild-makefile-changes.patch
 Patch1:         %{name}_usermac.patch
 Patch2:         %{name}-outputpy.patch
 Patch3:         %{name}-update-scripts.patch
+# PATCH-FIX-UPSTREAM: do not strip binaries (bnc#890844)
+Patch4:         udhcp-do-not-strip.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-#BuildRequires: 
-#Requires: 
-#ExclusiveArch: i386 i686 x86_64
 
 %description
 Udhcp is a small dhcp client / server mainly used to support Xen
 para-virtualized PXE booting.
 
-
-
-Authors:
---------
-    Russ Dill <russ.d...@asu.edu>
-    Matthew Ramsay  <matth...@moreton.com.au>
-    Chris Trew <chr...@moreton.com.au>
-
 %prep 
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
-%{__make}
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+make %{?_smp_mflags}
 
 %install
-%{make_install} SBINDIR=%{buildroot}/%{_sbindir}
+%make_install SBINDIR=%{buildroot}/%{_sbindir}
 pushd %{buildroot}/%{_mandir}
 find . -type f -exec chmod -x {} \;
 popd
@@ -65,9 +58,6 @@
 ln -s %{_sbindir}/udhcpc %{buildroot}/sbin
 #EndUsrMerge
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 #UsrMerge
@@ -75,7 +65,7 @@
 #EndUsrMerge
 %{_bindir}/*
 %{_sbindir}/*
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %dir %{_datadir}/udhcpc
 %{_datadir}/udhcpc/*
 

++++++ udhcp-do-not-strip.patch ++++++
Index: udhcp-0.9.8/Makefile
===================================================================
--- udhcp-0.9.8.orig/Makefile
+++ udhcp-0.9.8/Makefile
@@ -59,7 +59,7 @@ CFLAGS += -g -DDEBUG
 STRIP=true
 else
 CFLAGS += -Os -fomit-frame-pointer
-STRIP=$(CROSS_COMPILE)strip
+STRIP=true
 endif
 
 all: $(EXEC1) $(EXEC2) $(EXEC3)

Reply via email to