From 25f11997470f206a08dba21dd9dc5b3c12eba305 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:33 -0700 Subject: [PATCH] Add default Smack manifest for libxdamage.spec Change-Id: I607f8c5c59188b8f319da71c4635454f25a3df29 Signed-off-by: Ryan Ware --- packaging/libxdamage.manifest | 5 +++++ packaging/libxdamage.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/libxdamage.manifest diff --git a/packaging/libxdamage.manifest b/packaging/libxdamage.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libxdamage.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/libxdamage.spec b/packaging/libxdamage.spec index c52697b..27c9ee0 100644 --- a/packaging/libxdamage.spec +++ b/packaging/libxdamage.spec @@ -7,6 +7,7 @@ Group: System/Libraries License: MIT URL: http://www.x.org Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz +Source1001: packaging/libxdamage.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(x11) @@ -33,6 +34,7 @@ Description: %{summary} %build +cp %{SOURCE1001} . export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed" %reconfigure --disable-static # Call make instruction with smp support @@ -55,6 +57,7 @@ rm -rf %{buildroot} %files +%manifest libxdamage.manifest %defattr(-,root,root,-) %doc COPYING %{_libdir}/libXdamage.so.1 @@ -62,6 +65,7 @@ rm -rf %{buildroot} %files devel +%manifest libxdamage.manifest %defattr(-,root,root,-) %doc AUTHORS README ChangeLog %dir %{_includedir}/X11 -- 2.7.4