LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File project.diff of Package emacs-yaml-mode (Project home:ojkastl_buildservice)

--- emacs-yaml-mode.changes.orig
+++ emacs-yaml-mode.changes
@@ -1,4 +1,16 @@
 -------------------------------------------------------------------
+Mon Jun  4 10:49:18 UTC 2018 - opensuse_buildservice@ojkastl.de
+
+- renamed patch to 0001-yaml-mode-destdir.patch
+
+-------------------------------------------------------------------
+Mon Jun  4 10:11:51 UTC 2018 - opensuse_buildservice@ojkastl.de
+
+- update to 0.0.13
+- reworked spec file and cleaned up
+- added boilerplate to spec file 
+
+-------------------------------------------------------------------
 Sun Sep  7 10:04:25 UTC 2014 - rolf@rotkraut.de
 
 - initial build (0.0.10)
--- emacs-yaml-mode.spec.orig
+++ emacs-yaml-mode.spec
@@ -1,44 +1,51 @@
-%define tarname yaml-mode-release
-Name:		emacs-yaml-mode
-Version:	0.0.10
-Release:	1
-Summary:	Simple major mode to edit YAML file for emacs
-License:	GPL-2.0+
-Group:		Development/Languages/Python
-Url:		https://github.com/yoshiki/yaml-mode
-Source:		%{tarname}-%{version}.tar.gz
-Patch0:		yaml-mode-destdir.patch
-BuildArch:	noarch
-BuildRequires:	emacs
-Requires:	emacs
-BuildRoot:	%{_tmppath}/%{name}-%{version}-build
+#
+# spec file for package emacs-yaml-mode
+#
+# Copyright (c) 2018 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+%define tarname yaml-mode
+Name:           emacs-yaml-mode
+Version:        0.0.13
+Release:        0
+Summary:        Simple major mode to edit YAML file for emacs
+License:        GPL-2.0-or-later
+Group:          Productivity/Text/Editors
+URL:            https://github.com/yoshiki/yaml-mode
+Source:         %{tarname}-%{version}.tar.gz
+Patch0001:      0001-yaml-mode-destdir.patch
+BuildRequires:  emacs
+Requires:       emacs
+BuildArch:      noarch
 
 %description
 yaml-mode is major mode for emacs to edit YAML files.
 
-
 %prep
 %setup -q -n %{tarname}-%{version}
-%patch0
-
+%patch0001
 
 %build
-make bytecompile
-
+make %{?_smp_mflags} bytecompile
 
 %install
-%__install -d -m 755 %{buildroot}%{_datadir}/emacs/site-lisp
+install -d -m 755 %{buildroot}%{_datadir}/emacs/site-lisp
 make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root)
 %doc README Changes
 %{_datadir}/emacs/site-lisp/*
 
-
 %changelog