summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2017-11-08 02:35:27 (GMT)
committerHyotaek Shim <hyotaek.shim@samsung.com>2017-11-08 02:35:27 (GMT)
commit4a4c098d6a02eee7988ce1e9d6b2c9b91bede029 (patch)
tree0191c847eb732277984ec09b5e54957884eb1bb2
parentda01b82cc005cd39fcb64ab4316a290605ec40df (diff)
downloadlibsystem-4a4c098d6a02eee7988ce1e9d6b2c9b91bede029.zip
libsystem-4a4c098d6a02eee7988ce1e9d6b2c9b91bede029.tar.gz
libsystem-4a4c098d6a02eee7988ce1e9d6b2c9b91bede029.tar.bz2
add LICENSE.Apache-2.0 and fix a manifest-related build issuerefs/changes/79/159279/1
Change-Id: I0cfb2c6ec8dba567e24973cb5717d0218266a0bd Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--LICENSE.Apache-2.0 (renamed from LICENSE)0
-rw-r--r--packaging/libsystem.spec7
2 files changed, 5 insertions, 2 deletions
diff --git a/LICENSE b/LICENSE.Apache-2.0
index d645695..d645695 100644
--- a/LICENSE
+++ b/LICENSE.Apache-2.0
diff --git a/packaging/libsystem.spec b/packaging/libsystem.spec
index 073ebb7..28ed116 100644
--- a/packaging/libsystem.spec
+++ b/packaging/libsystem.spec
@@ -55,12 +55,11 @@ Development header files for systemd util.
%prep
%setup -q
-
-%build
%if 0%{?_with_tizen}
cp %{SOURCE1001} .
%endif
+%build
%if 0%{?debug_enable}
export CFLAGS=$(echo $CFLAGS | sed -e 's/^-g / /g' | sed -e 's/ -g / /g')
export CFLAGS=$(echo $CFLAGS | sed -e 's/^-O[0-9] / /g' | sed -e 's/ $-O[0-9] / /g')
@@ -101,6 +100,7 @@ make check
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem.so.*
%files devel
@@ -108,6 +108,7 @@ make check
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem.so
%{_includedir}/libsystem/config-parser.h
%{_includedir}/libsystem/dbus-util.h
@@ -121,6 +122,7 @@ make check
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem-sd.so.*
%files -n libsystem-sd-devel
@@ -128,6 +130,7 @@ make check
%if 0%{?_with_tizen}
%manifest %{name}.manifest
%endif
+%license LICENSE.Apache-2.0
%{_libdir}/libsystem-sd.so
%{_includedir}/libsystem-sd/systemd.h
%{_libdir}/pkgconfig/libsystem-sd.pc