summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:56 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:56 -0700
commit6b8ee26f57236e9ffdd82ccbb3c4f632b449ff28 (patch)
treea093a157fa94e8bc636188d46127e774dbc4dc27
parent3993d7063abe2c3f69dfddb7e7b8337590dba7d9 (diff)
downloadiniparser-1.0_post.tar.gz
iniparser-1.0_post.tar.bz2
iniparser-1.0_post.zip
Add default Smack manifest for iniparser.spec1.0_post
Change-Id: I1379ead4ef39467bea986d17463db2c6849292fb Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/iniparser.manifest5
-rw-r--r--packaging/iniparser.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/iniparser.manifest b/packaging/iniparser.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/iniparser.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/iniparser.spec b/packaging/iniparser.spec
index c37831e..28c0cc0 100644
--- a/packaging/iniparser.spec
+++ b/packaging/iniparser.spec
@@ -6,6 +6,7 @@ Group: Applications/Databases
License: MIT
URL: http://ndevilla.free.fr/iniparser/
Source: http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz
+Source1001: packaging/iniparser.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -28,6 +29,7 @@ to install %{name}-devel.
%setup -q
%build
+cp %{SOURCE1001} .
LDFLAGS="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed $LDFLAGS" \
make prefix=%{_prefix}
@@ -63,9 +65,11 @@ EOF
%postun -p /sbin/ldconfig
%files
+%manifest iniparser.manifest
%{_libdir}/*.so.*
%files devel
+%manifest iniparser.manifest
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc