Hello community,

here is the log from the commit of package devmem2 for openSUSE:Factory checked 
in at 2015-11-16 18:51:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/devmem2 (Old)
 and      /work/SRC/openSUSE:Factory/.devmem2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "devmem2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/devmem2/devmem2.changes  2012-03-22 
12:31:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.devmem2.new/devmem2.changes     2015-11-16 
18:51:33.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Nov 13 17:59:13 UTC 2015 - [email protected]
+
+- Use optflags
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ devmem2.spec ++++++
--- /var/tmp/diff_new_pack.BHJDQa/_old  2015-11-16 18:51:34.000000000 +0100
+++ /var/tmp/diff_new_pack.BHJDQa/_new  2015-11-16 18:51:34.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package devmem2
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Guillaume GARDET <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,15 +17,14 @@
 #
 
 
-
 Name:           devmem2
 Version:        1.0
-Release:        0.0
+Release:        0
 Summary:        Simple program to read/write from/to any location in memory
+License:        GPL-2.0+
 Group:          Hardware/Other
 Url:            http://free-electrons.com/pub/mirror/devmem2.c
 Source:         devmem2-1.0.tar.gz
-License:        GPL-2.0+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -38,14 +37,10 @@
 %setup -q
 
 %build
-gcc devmem2.c -o devmem2
+cc %{optflags} devmem2.c -o devmem2
 
 %install
-mkdir -p %buildroot%{_sbindir}
-install -m 0755 devmem2 %buildroot%{_sbindir}/devmem2
-
-%clean
-rm -rf %buildroot
+install -D -m 0755 devmem2 %{buildroot}%{_sbindir}/devmem2
 
 %files
 %defattr(-,root,root)


Reply via email to