Minor packaging-related changes and rpmlint fixes 59/11159/1 tizen
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Thu, 17 Oct 2013 15:36:35 +0000 (17:36 +0200)
committerJacek Bukarewicz <j.bukarewicz@samsung.com>
Mon, 21 Oct 2013 15:31:26 +0000 (17:31 +0200)
1) LICENSE file is included using %license macro
2) Moved to valid group
3) Corrected license
4) Introduced docs subpackage
5) Removed spectacle comments

Change-Id: I55e7c1fb037516d0b0ad43095fecce07e5a65c0a
Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
packaging/usleep.changes [new file with mode: 0644]
packaging/usleep.spec

diff --git a/packaging/usleep.changes b/packaging/usleep.changes
new file mode 100644 (file)
index 0000000..16e55eb
--- /dev/null
@@ -0,0 +1,4 @@
+* Mon Oct 21 2013 Jacek Bukarewicz <j.bukarewicz@samsung.com> accepted/tizen/20130913.063235@443e3cc
+- Minor packaging-related changes and rpmlint fixes
+- Add license file and NOTICE file into rpm package
+
index c35c847..79c4321 100644 (file)
@@ -1,16 +1,9 @@
-# 
-# Do not Edit! Generated by:
-# spectacle version 0.13
-# 
-# >> macros
-# << macros
-
 Name:       usleep
 Summary:    Sleeps for microseconds
 Version:    1
 Release:    4.2
-Group:      System/Base
-License:    GPLv2
+Group:      Base/Utilities
+License:    GPL-2.0
 URL:        http://moblin.org/
 Source0:    %{name}-%{version}.tar.gz
 Source100:  usleep.yaml
@@ -25,44 +18,20 @@ A version of /bin/sleep that sleeps for microsecond intervals.
 %prep
 %setup -q -n %{name}-%{version}
 
-# >> setup
-# << setup
-
 %build
-# >> build pre
-# << build pre
 
 cp %{SOURCE1001} .
 make %{?jobs:-j%jobs}
 
-# >> build post
-# << build post
 %install
 rm -rf %{buildroot}
-# >> install pre
-# << install pre
 %make_install
 
-# license
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
-
-# >> install post
-
-
-# << install post
-
-
-
-
-
-
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
-# >> files
-%{_mandir}/man*/*
+%license LICENSE
 /bin/usleep
-/usr/share/license/%{name}
-# << files
+
+%docs_package