Commit ce892a5fe3ad039069b3470674d94abbd4ec38ee

Authored by Perry Werneck
1 parent 624194af
Exists in master and in 1 other branch develop

Fixing package build.

Showing 2 changed files with 5 additions and 2 deletions   Show diff stats
Makefile.in
... ... @@ -282,7 +282,7 @@ $(OBJDIR)/marshal/%.o: \
282 282 all: \
283 283 $(BINRLS)/$(SONAME) \
284 284 $(BINRLS)/static/$(LIBNAME).a \
285   - locale/$(PACKAGE_TARNAME).pot
  285 + locale/$(LIBNAME).pot
286 286  
287 287 Release: \
288 288 $(BINRLS)/$(SONAME) \
... ... @@ -315,6 +315,7 @@ $(BINRLS)/static/$(LIBNAME).a: \
315 315 #---[ Install Targets ]------------------------------------------------------------------
316 316  
317 317 install: \
  318 + locale/$(LIBNAME).pot \
318 319 $(foreach PKG, $(INSTALL_PACKAGES), install-$(PKG))
319 320  
320 321 install-linux-lib: \
... ... @@ -511,6 +512,7 @@ clean: \
511 512 @rm -fr $(BASEDIR)/.tmp/$(LIBNAME)
512 513 @rm -fr $(POTDIR)/$(LIBNAME)
513 514 @rm -fr src/include/marshal
  515 + @rm -fr locale/$(LIBNAME).pot
514 516  
515 517 cleanDebug:
516 518  
... ...
rpm/libv3270.spec
... ... @@ -103,8 +103,9 @@ make %{?_smp_mflags}
103 103  
104 104 %install
105 105 %make_install
  106 +%find_lang libv3270 langfiles
106 107  
107   -%files -n %{name}-%{_libvrs}
  108 +%files -n %{name}-%{_libvrs} -f langfiles
108 109  
109 110 # https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros
110 111 %if 0%{?sle_version} > 120200
... ...