summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-07-01 19:25:43 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-07-01 19:25:43 +0300
commit9092da2d875f5c060ea6834dac84392a43a7eba4 (patch)
tree003d7dfe09c72fa80691828d6550828785a3216b
parent27abd523e633ca4c1604553c1e075d8527f7e1a1 (diff)
downloadlibsolv-9092da2d875f5c060ea6834dac84392a43a7eba4.tar.gz
libsolv-9092da2d875f5c060ea6834dac84392a43a7eba4.tar.bz2
libsolv-9092da2d875f5c060ea6834dac84392a43a7eba4.zip
-rw-r--r--packaging/libsolv.manifest5
-rw-r--r--packaging/libsolv.spec8
2 files changed, 13 insertions, 0 deletions
diff --git a/packaging/libsolv.manifest b/packaging/libsolv.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libsolv.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libsolv.spec b/packaging/libsolv.spec
index de1164b..67b0dbb 100644
--- a/packaging/libsolv.spec
+++ b/packaging/libsolv.spec
@@ -3,6 +3,7 @@ Version: 0.3.0
Release: 0
Url: https://github.com/openSUSE/libsolv
Source: libsolv-%{version}.tar.bz2
+Source1001: libsolv.manifest
%bcond_without enable_static
%bcond_without perl_binding
@@ -79,6 +80,7 @@ Perl bindings for sat solver.
%prep
%setup -n libsolv-%{version}
+cp %{SOURCE1001} .
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -115,17 +117,20 @@ export NO_BRP_STRIP_DEBUG=true
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%license LICENSE*
%{_libdir}/libsolv.so.*
%{_libdir}/libsolvext.so.*
%files tools
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/solv
%{_bindir}/*
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%if %{with enable_static}
%{_libdir}/libsolv.a
@@ -140,17 +145,20 @@ export NO_BRP_STRIP_DEBUG=true
%{_datadir}/cmake/Modules/*
%files demo
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/solv
%if %{with perl_binding}
%files -n perl-solv
+%manifest %{name}.manifest
%defattr(-,root,root)
%{perl_vendorarch}/*
%endif
%if %{with python_binding}
%files -n python-solv
+%manifest %{name}.manifest
%defattr(-,root,root)
%{python_sitearch}/*
%endif