summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2016-10-19 01:38:44 (GMT)
committerWaLyong Cho <walyong.cho@samsung.com>2016-10-19 01:38:56 (GMT)
commitb3d97ce44cd29478fdfe13068eaf08ef57583755 (patch)
tree2c3487ffeb4c276c9ebd82d2a118fa8a1258f208
parentbf6b02d15c986496b697131a68f3f99c6dcf1e70 (diff)
parent97384cb4682d2d7029543d6fdf2c98c25abf8ae9 (diff)
downloadlibsystem-b3d97ce44cd29478fdfe13068eaf08ef57583755.zip
libsystem-b3d97ce44cd29478fdfe13068eaf08ef57583755.tar.gz
libsystem-b3d97ce44cd29478fdfe13068eaf08ef57583755.tar.bz2
release: 4.0-1
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.0-1 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.0-1 smack: add default smack manifest add gitattributes Change-Id: I9caa877c62fb2ae106779a146aa4076df0cb13ff Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
-rw-r--r--.gitattributes1
-rw-r--r--packaging/libsystem.manifest5
-rw-r--r--packaging/libsystem.spec7
3 files changed, 12 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..1841508
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.[ch] whitespace=tab-in-indent,trailing-space
diff --git a/packaging/libsystem.manifest b/packaging/libsystem.manifest
new file mode 100644
index 0000000..2a0cec5
--- /dev/null
+++ b/packaging/libsystem.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libsystem.spec b/packaging/libsystem.spec
index a19c75a..109f442 100644
--- a/packaging/libsystem.spec
+++ b/packaging/libsystem.spec
@@ -1,10 +1,11 @@
Name: libsystem
Summary: System Libraries
Version: 4.0
-Release: 0
+Release: 1
License: Apache-2.0
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
BuildRequires: autoconf
BuildRequires: automake
@@ -50,6 +51,8 @@ Development header files for systemd util.
%setup -q
%build
+cp %{SOURCE1001} .
+
%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')
@@ -84,6 +87,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%files
%defattr(-,root,root,-)
%{_libdir}/libsystem.so.*
+%manifest %{name}.manifest
%files devel
%defattr(-,root,root,-)
@@ -97,6 +101,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%files -n libsystem-sd
%defattr(-,root,root,-)
%{_libdir}/libsystem-sd.so.*
+%manifest %{name}.manifest
%files -n libsystem-sd-devel
%defattr(-,root,root,-)