Commit fb0091710ab85ed7a31c8f337c16f7f93a76f20b

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

Updating rpm control files.

Showing 2 changed files with 6 additions and 6 deletions   Show diff stats
@@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
2 2
3 <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py --> 3 <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
4 <service name="tar_scm"> 4 <service name="tar_scm">
5 - <param name="changesgenerate">enable</param>  
6 - <param name="changesauthor">perry.werneck@gmail.com</param>  
7 - <param name="versionformat">@PARENT_TAG@</param> 5 + <param name="changesgenerate">enable</param>
  6 + <param name="changesauthor">perry.werneck@gmail.com</param>
  7 + <param name="versionformat">@PARENT_TAG@+git%cd</param>
8 <param name="url">https://github.com/PerryWerneck/libhllapi.git</param> 8 <param name="url">https://github.com/PerryWerneck/libhllapi.git</param>
9 <param name="scm">git</param> 9 <param name="scm">git</param>
10 </service> 10 </service>
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <!-- https://github.com/openSUSE/obs-service-extract_file --> 12 <!-- https://github.com/openSUSE/obs-service-extract_file -->
13 <service name="extract_file"> 13 <service name="extract_file">
14 <param name="archive">*.tar</param> 14 <param name="archive">*.tar</param>
15 - <param name="files">*/rpm/libhllapi.spec</param> 15 + <param name="files">*/rpm/*.spec</param>
16 </service> 16 </service>
17 17
18 <service name="extract_file"> 18 <service name="extract_file">
rpm/libhllapi.spec
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 20
21 Summary: HLLAPI client library for lib3270/pw3270 21 Summary: HLLAPI client library for lib3270/pw3270
22 Name: libhllapi 22 Name: libhllapi
23 -Version: 5.2 23 +Version: 5.3
24 Release: 0 24 Release: 0
25 License: LGPL-3.0 25 License: LGPL-3.0
26 Source: %{name}-%{version}.tar.xz 26 Source: %{name}-%{version}.tar.xz
@@ -60,7 +60,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -60,7 +60,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
60 #---[ Library ]------------------------------------------------------------------------------------------------------- 60 #---[ Library ]-------------------------------------------------------------------------------------------------------
61 61
62 %define MAJOR_VERSION %(echo %{version} | cut -d. -f1) 62 %define MAJOR_VERSION %(echo %{version} | cut -d. -f1)
63 -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) 63 +%define MINOR_VERSION %(echo %{version} | cut -d. -f2 | cut -d+ -f1)
64 %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} 64 %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
65 65
66 %package -n %{name}%{_libvrs} 66 %package -n %{name}%{_libvrs}