Revise the spec file
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 4 Jan 2013 12:35:12 +0000 (21:35 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 4 Jan 2013 12:35:12 +0000 (21:35 +0900)
Change-Id: I62b8f7e05ea0b64a79df084f8f104ddb6431d97b

packaging/libheap-monitor.spec

index c5eb7d4..5a8daa6 100644 (file)
@@ -1,11 +1,11 @@
 Name: libheap-monitor
 Summary: Library for monitoring the heap usage
-Version: 0.0.10
+Version: 0.0.11
 Release: 1
 Group: main/app
 License: Flora License
 Source0: %{name}-%{version}.tar.gz
-BuildRequires: cmake, gettext-tools
+BuildRequires: cmake, gettext-tools, coreutils
 BuildRequires: pkgconfig(dlog)
 
 %description
@@ -29,17 +29,19 @@ CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -Werror -Winline -fno-builtin-mallo
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
+mkdir -p %{buildroot}/%{_datarootdir}/license
 
 %post
 
 %files
 %manifest libheap-monitor.manifest
 %defattr(-,root,root,-)
-/usr/lib/*.so*
-/usr/share/license/*
+%{_libdir}/*.so*
+%{_datarootdir}/license/*
 
 %files devel
 %defattr(-,root,root,-)
-/usr/include/heap-monitor/heap-monitor.h
-/usr/lib/pkgconfig/*.pc
+%{_includedir}/heap-monitor/heap-monitor.h
+%{_libdir}/pkgconfig/*.pc
+
+# End of a file