diff --git a/Makefile.in b/Makefile.in index c2f561e..74a560e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -282,7 +282,7 @@ $(OBJDIR)/marshal/%.o: \ all: \ $(BINRLS)/$(SONAME) \ $(BINRLS)/static/$(LIBNAME).a \ - locale/$(PACKAGE_TARNAME).pot + locale/$(LIBNAME).pot Release: \ $(BINRLS)/$(SONAME) \ @@ -315,6 +315,7 @@ $(BINRLS)/static/$(LIBNAME).a: \ #---[ Install Targets ]------------------------------------------------------------------ install: \ + locale/$(LIBNAME).pot \ $(foreach PKG, $(INSTALL_PACKAGES), install-$(PKG)) install-linux-lib: \ @@ -511,6 +512,7 @@ clean: \ @rm -fr $(BASEDIR)/.tmp/$(LIBNAME) @rm -fr $(POTDIR)/$(LIBNAME) @rm -fr src/include/marshal + @rm -fr locale/$(LIBNAME).pot cleanDebug: diff --git a/rpm/libv3270.spec b/rpm/libv3270.spec index 1be05d3..8abdc72 100644 --- a/rpm/libv3270.spec +++ b/rpm/libv3270.spec @@ -103,8 +103,9 @@ make %{?_smp_mflags} %install %make_install +%find_lang libv3270 langfiles -%files -n %{name}-%{_libvrs} +%files -n %{name}-%{_libvrs} -f langfiles # https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros %if 0%{?sle_version} > 120200 -- libgit2 0.21.2