add LICENSE.Apache-2.0 and fix a manifest-related build issue 79/159279/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 8 Nov 2017 02:35:27 +0000 (11:35 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 8 Nov 2017 02:35:27 +0000 (11:35 +0900)
Change-Id: I0cfb2c6ec8dba567e24973cb5717d0218266a0bd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
LICENSE.Apache-2.0 [moved from LICENSE with 100% similarity]
packaging/libsystem.spec

similarity index 100%
rename from LICENSE
rename to LICENSE.Apache-2.0
index 073ebb7..28ed116 100644 (file)
@@ -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