summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-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