diff --git a/rpm/_service b/rpm/_service index f004a4a..7a3bfcf 100644 --- a/rpm/_service +++ b/rpm/_service @@ -2,9 +2,9 @@ - enable - perry.werneck@gmail.com - @PARENT_TAG@ + enable + perry.werneck@gmail.com + @PARENT_TAG@+git%cd https://github.com/PerryWerneck/libhllapi.git git @@ -12,7 +12,7 @@ *.tar - */rpm/libhllapi.spec + */rpm/*.spec diff --git a/rpm/libhllapi.spec b/rpm/libhllapi.spec index 0352375..96d1d27 100644 --- a/rpm/libhllapi.spec +++ b/rpm/libhllapi.spec @@ -20,7 +20,7 @@ Summary: HLLAPI client library for lib3270/pw3270 Name: libhllapi -Version: 5.2 +Version: 5.3 Release: 0 License: LGPL-3.0 Source: %{name}-%{version}.tar.xz @@ -60,7 +60,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ #---[ Library ]------------------------------------------------------------------------------------------------------- %define MAJOR_VERSION %(echo %{version} | cut -d. -f1) -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) +%define MINOR_VERSION %(echo %{version} | cut -d. -f2 | cut -d+ -f1) %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} %package -n %{name}%{_libvrs} -- libgit2 0.21.2