summaryrefslogtreecommitdiff
path: root/packaging/libsystem.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libsystem.spec')
-rw-r--r--packaging/libsystem.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/libsystem.spec b/packaging/libsystem.spec
index a19c75a..4dc823d 100644
--- a/packaging/libsystem.spec
+++ b/packaging/libsystem.spec
@@ -5,6 +5,7 @@ Release: 0
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,-)