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
rpm/_service
... ... @@ -2,9 +2,9 @@
2 2  
3 3 <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
4 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 8 <param name="url">https://github.com/PerryWerneck/libhllapi.git</param>
9 9 <param name="scm">git</param>
10 10 </service>
... ... @@ -12,7 +12,7 @@
12 12 <!-- https://github.com/openSUSE/obs-service-extract_file -->
13 13 <service name="extract_file">
14 14 <param name="archive">*.tar</param>
15   - <param name="files">*/rpm/libhllapi.spec</param>
  15 + <param name="files">*/rpm/*.spec</param>
16 16 </service>
17 17  
18 18 <service name="extract_file">
... ...
rpm/libhllapi.spec
... ... @@ -20,7 +20,7 @@
20 20  
21 21 Summary: HLLAPI client library for lib3270/pw3270
22 22 Name: libhllapi
23   -Version: 5.2
  23 +Version: 5.3
24 24 Release: 0
25 25 License: LGPL-3.0
26 26 Source: %{name}-%{version}.tar.xz
... ... @@ -60,7 +60,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
60 60 #---[ Library ]-------------------------------------------------------------------------------------------------------
61 61  
62 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 64 %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
65 65  
66 66 %package -n %{name}%{_libvrs}
... ...