File tutorial.spec of Package tutorial
# spec file for package hello
# Copyright (c) 2012 SUSE LINUX Products 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/
# How to define macros
%define hello echo "hello world"
Summary: This is trivial package with bad style, but easy to use the OBS tutorial
This is trivial package with bad style, but easy to use the OBS tutorial.
There is absolutely no value in this package other than it is easy to modify in the tutorial
# Use defined macro
ls -l tutorial
%defattr(-, root, root)