From a95bf8d74fc804ca49cc749d9ad8909da998c1c4 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 20 Aug 2020 12:17:50 -0300 Subject: [PATCH] Updating package control files. --- arch/PKGBUILD | 2 +- debian/changelog | 2 +- debian/rules | 2 -- rpm/_service | 9 ++++++--- rpm/lib3270.spec | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 3e54949..f1f1e61 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -3,7 +3,7 @@ pkgname=lib3270 pkgver=5.3 -pkgrel=2 +pkgrel=0 pkgdesc="TN3270 Access library" url="https://github.com/PerryWerneck/lib3270/" arch=(i686 x86_64) diff --git a/debian/changelog b/debian/changelog index 3c22020..651d46d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -lib3270 (5.2-0) unstable; urgency=low +lib3270 (5.3-0) unstable; urgency=low * Initial Release diff --git a/debian/rules b/debian/rules index bbbb236..d828a25 100644 --- a/debian/rules +++ b/debian/rules @@ -61,8 +61,6 @@ install: build # Install dev make DESTDIR=$(PWD)/debian/$(PACKAGE_NAME)-dev install-dev - mkdir -p $(PWD)/debian/$(PACKAGE_NAME)-dev/usr/lib - mv $(PWD)/debian/$(PACKAGE_NAME)/usr/lib/*.so $(PWD)/debian/$(PACKAGE_NAME)-dev/usr/lib # --- end custom part for installing diff --git a/rpm/_service b/rpm/_service index 1878e66..b349dad 100644 --- a/rpm/_service +++ b/rpm/_service @@ -5,15 +5,17 @@ enable perry.werneck@gmail.com https://github.com/PerryWerneck/lib3270.git - @PARENT_TAG@ + @PARENT_TAG@+git%cd git - + *.tar @@ -66,6 +68,7 @@ */debian/postrm debian.postrm + --> *.tar diff --git a/rpm/lib3270.spec b/rpm/lib3270.spec index 67701c2..43a1b65 100644 --- a/rpm/lib3270.spec +++ b/rpm/lib3270.spec @@ -50,7 +50,7 @@ TN3270 access library, originally designed as part of the pw3270 application. For more details, see https://softwarepublico.gov.br/social/pw3270/ . %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