diff --git a/rpm/_service b/rpm/_service
index 2fc2ae5..449a01d 100644
--- a/rpm/_service
+++ b/rpm/_service
@@ -15,10 +15,10 @@
*/rpm/lib3270.spec
-
+
*.tar
@@ -49,11 +49,11 @@
debian.shlibs
-
+
*.tar
diff --git a/rpm/lib3270.spec b/rpm/lib3270.spec
index 6d1a056..a180fcb 100644
--- a/rpm/lib3270.spec
+++ b/rpm/lib3270.spec
@@ -16,7 +16,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-
Name: lib3270
Version: 5.4
Release: 0
@@ -80,6 +79,8 @@ make all %{?_smp_mflags}
%install
%make_install
+mkdir -p %{buildroot}%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}/plugins
+
%find_lang %{name}-%{MAJOR_VERSION}.%{MINOR_VERSION} langfiles
%fdupes %{buildroot}/%{_prefix}
@@ -99,6 +100,10 @@ make all %{?_smp_mflags}
%{_includedir}/%{name}
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pw3270
+%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}
+%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}/plugins
+
%post -n %{name}-%{_libvrs} -p /sbin/ldconfig
%postun -n %{name}-%{_libvrs} -p /sbin/ldconfig
--
libgit2 0.21.2