Hello community,

here is the log from the commit of package kbuild for openSUSE:Factory checked 
in at 2019-12-23 22:38:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kbuild (Old)
 and      /work/SRC/openSUSE:Factory/.kbuild.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kbuild"

Mon Dec 23 22:38:34 2019 rev:38 rq:757590 version:0.1.9998svn3110

Changes:
--------
--- /work/SRC/openSUSE:Factory/kbuild/kbuild.changes    2019-02-24 
16:57:25.376850904 +0100
+++ /work/SRC/openSUSE:Factory/.kbuild.new.6675/kbuild.changes  2019-12-23 
22:41:32.629927030 +0100
@@ -1,0 +2,5 @@
+Tue Dec 17 16:11:30 UTC 2019 - Martin Pluskal <[email protected]>
+
+- Modernise spec file
+
+-------------------------------------------------------------------

Old:
----
  _service

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

Other differences:
------------------
++++++ kbuild.spec ++++++
--- /var/tmp/diff_new_pack.qvPntp/_old  2019-12-23 22:41:36.565928738 +0100
+++ /var/tmp/diff_new_pack.qvPntp/_new  2019-12-23 22:41:36.569928740 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kbuild
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,14 @@
 #
 
 
-Url:            http://svn.netlabs.org/kbuild
-
+%define _svnrev 3110
 Name:           kbuild
-BuildRequires:  automake
-BuildRequires:  bison
-BuildRequires:  flex
-BuildRequires:  libacl-devel
-BuildRequires:  makeinfo
-BuildRequires:  readline-devel
+Version:        0.1.9998svn%{_svnrev}
+Release:        0
 Summary:        Framework for writing simple makefiles for complex tasks
 License:        GPL-2.0-or-later
 Group:          Development/Tools/Building
-%define _svnrev 3110
-Version:        0.1.9998svn%{_svnrev}
-Release:        0
+URL:            https://svn.netlabs.org/kbuild
 Source0:        %{name}-%{version}.tar.bz2
 Patch0:         kbuild-man.diff
 # PATCH-FIX-UPSTREAM [email protected]: Import local implementation if KMK
@@ -46,7 +39,12 @@
 Patch12:        use-alloca.patch
 Patch13:        glob-lstat.patch
 Patch14:        glob-interface.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  libacl-devel
+BuildRequires:  makeinfo
+BuildRequires:  readline-devel
 
 %description
 The goals of the kBuild framework:
@@ -78,33 +76,29 @@
 %patch14 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
-%__cat > SvnInfo.kmk << EOF
+export CFLAGS="%{optflags}"
+cat > SvnInfo.kmk << EOF
 KBUILD_SVN_REV := %{_svnrev}
 KBUILD_SVN_URL := http://svn.netlabs.org/repos/kbuild/trunk
 EOF
 kBuild/env.sh --full make -f bootstrap.gmk SRCDIR=`pwd`
 kBuild/env.sh kmk rebuild PATH_INS=`pwd`
-pod2man -c 'kBuild for SUSE Linux' -r kBuild-%version kmk.pod > kmk.1
+pod2man -c 'kBuild for SUSE Linux' -r kBuild-%{version} kmk.pod > kmk.1
 
 %install
-kBuild/env.sh kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release 
PATH_INS=%{buildroot} LDFLAGS=-Wl,--as-needed install
-%__install -m 644 -D kmk.1 %buildroot/%_mandir/man1/kmk.1
+kBuild/env.sh kmk NIX_INSTALL_DIR=%{_prefix} BUILD_TYPE=release 
PATH_INS=%{buildroot} LDFLAGS=-Wl,--as-needed install
+install -m 644 -D kmk.1 %{buildroot}/%{_mandir}/man1/kmk.1
 #remove execute flag, if occurs
-%__chmod a-x %{buildroot}/%{_datadir}/kBuild/*/*kmk
-%__rm -r %{buildroot}%{_datadir}/doc/kBuild-0.1.9998
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
+chmod a-x %{buildroot}/%{_datadir}/kBuild/*/*kmk
+rm -r %{buildroot}%{_datadir}/doc/kBuild-0.1.9998
 
 %files
-%defattr(-, root, root)
 %license COPYING
+%license kBuild/doc/COPYING-FDL-1.3
 %doc ChangeLog
-%doc kBuild/doc/COPYING-FDL-1.3
 %doc kBuild/doc/QuickReference-kmk.*
-%{_mandir}/man1/kmk.1.gz
 %{_bindir}/*
+%{_mandir}/man1/kmk.1%{?ext_man}
 %{_datadir}/kBuild
 
 %changelog


Reply via email to