summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libzio.manifest5
-rw-r--r--packaging/libzio.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libzio.manifest b/packaging/libzio.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libzio.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libzio.spec b/packaging/libzio.spec
index bc89d59..378381b 100644
--- a/packaging/libzio.spec
+++ b/packaging/libzio.spec
@@ -6,6 +6,7 @@ Summary: A Library for Accessing Compressed Text Files
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
+Source1001: libzio.manifest
BuildRequires: bzip2-devel
BuildRequires: xz
BuildRequires: xz-devel
@@ -26,6 +27,7 @@ and static library.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
make %{?_smp_mflags} noweak
@@ -48,11 +50,13 @@ make DESTDIR=%{buildroot} install libdir=%{_libdir} mandir=%{_mandir}
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libzio.so.0
%{_libdir}/libzio.so.%{version}
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc README COPYING
%{_libdir}/libzio.a