summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-03-21 14:33:06 +0000
committerRichard Hughes <richard@hughsie.com>2014-03-21 14:33:06 +0000
commit238378cb63e961d13a8215a13486f942cb43ba4c (patch)
tree5cdcb1040ac455ef2852a9e7e6e28870fec6dac1
parentbce6657e22c7a30ebdd784e5dbf771fd01f56067 (diff)
downloadappstream-glib-238378cb63e961d13a8215a13486f942cb43ba4c.tar.gz
trivial: Fixes to the spec file from Fedora
-rw-r--r--contrib/libappstream-glib.spec.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/libappstream-glib.spec.in b/contrib/libappstream-glib.spec.in
index a791026..16155ae 100644
--- a/contrib/libappstream-glib.spec.in
+++ b/contrib/libappstream-glib.spec.in
@@ -22,7 +22,7 @@ representation.
%package devel
Summary: GLib Libraries and headers for appstream-glib
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
GLib headers and libraries for appstream-glib.
@@ -49,14 +49,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libappstream-glib*.la
%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
%doc README.md AUTHORS NEWS COPYING
-%{_libdir}/*libappstream-glib*.so.*
+%{_libdir}/libappstream-glib.so.1*
%{_libdir}/girepository-1.0/*.typelib
%files devel
-%defattr(-,root,root,-)
-%{_libdir}/libappstream-glib*.so
+%{_libdir}/libappstream-glib.so
%{_libdir}/pkgconfig/appstream-glib.pc
%dir %{_includedir}/libappstream-glib
%{_includedir}/libappstream-glib/*.h