summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 22:30:22 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 22:30:22 +0300
commit2bba67fa06524a0a50d34c63fe099af0e7abaa4a (patch)
treeb1b30321149541e42201352b17a510d8baf0a70a /packaging
parent556676ab08ca5d2ee326717afda97fda055a1bff (diff)
downloadgdbm-accepted/tizen_generic.tar.gz
gdbm-accepted/tizen_generic.tar.bz2
gdbm-accepted/tizen_generic.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/gdbm.manifest5
-rw-r--r--packaging/gdbm.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/gdbm.manifest b/packaging/gdbm.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/gdbm.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/gdbm.spec b/packaging/gdbm.spec
index 5fa2740..350d6e2 100644
--- a/packaging/gdbm.spec
+++ b/packaging/gdbm.spec
@@ -10,6 +10,7 @@ Summary: GNU dbm key/data database
Group: System/Libraries
Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz
Source2: baselibs.conf
+Source1001: gdbm.manifest
BuildRequires: libtool
%description
@@ -66,6 +67,7 @@ to develop applications that require these.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
export CFLAGS="%{optflags} -Wa,--noexecstack"
@@ -88,6 +90,7 @@ GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_li
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libgdbm.so.4
@@ -96,6 +99,7 @@ GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_li
%{_libdir}/libgdbm_compat.so.4.0.0
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/testgdbm
%{_includedir}/dbm.h