summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/dbus-python.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/dbus-python.spec b/packaging/dbus-python.spec
index 6786554..04d2859 100644
--- a/packaging/dbus-python.spec
+++ b/packaging/dbus-python.spec
@@ -40,6 +40,8 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
%make_install
@@ -64,7 +66,7 @@ rm -rf %{buildroot}
%{python_sitelib}/*.py*
%{python_sitelib}/dbus/*.py*
%{python_sitelib}/dbus/mainloop/*.py*
-
+/usr/share/license/%{name}
%files devel
%defattr(-,root,root,-)