From 1447f410a4416c1236d2179a2abfb1f425002092 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Tue, 6 Feb 2018 13:13:14 +0100
Subject: [PATCH] Own appropriate directories

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
 libmodulemd.spec | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/libmodulemd.spec b/libmodulemd.spec
index d1611dc..cf859fb 100644
--- a/libmodulemd.spec
+++ b/libmodulemd.spec
@@ -5,7 +5,7 @@
 
 Name:           libmodulemd
 Version:        %{majorminorversion}%{?patchversion:.%{patchversion}}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Module metadata manipulation library
 
 License:        MIT
@@ -20,15 +20,15 @@ BuildRequires:  pkgconfig(yaml-0.1)
 BuildRequires:  pkgconfig(gtk-doc)
 
 %description
-C Library for manipulating module metadata files
+C Library for manipulating module metadata files.
 See https://pagure.io/modulemd for more details.
 
 %package devel
-Summary: Development files for libmodulemd
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary:        Development files for libmodulemd
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description devel
-Development files for libmodulemd
+Development files for libmodulemd.
 
 %prep
 %autosetup -p1 -n modulemd-%{version}
@@ -50,18 +50,23 @@ export LC_CTYPE=C.utf8
 %license COPYING
 %doc README.md
 %{_libdir}/%{name}.so.%{majorversion}*
+%dir %{_libdir}/girepository-1.0
 %{_libdir}/girepository-1.0/Modulemd-%{majorminorversion}.typelib
 
 %files devel
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/modulemd.pc
-%{_includedir}/modulemd
+%{_includedir}/modulemd/
+%dir %{_datadir}/gir-1.0
 %{_datadir}/gir-1.0/Modulemd-%{majorminorversion}.gir
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
 %{_datadir}/gtk-doc/html/modulemd/
 
 %changelog
+* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
+- Own appropriate directories
+
 * Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
 - Switch to %%ldconfig_scriptlets