From 14e8bdb3a2ef598cfa93967b5dc974b982a7abc2 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 6 Jan 2021 12:09:38 -0300 Subject: [PATCH] Updating control files. --- arch/PKGBUILD | 13 ++++++++----- debian/rules | 2 +- rpm/lib3270.spec | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index f1f1e61..f184f51 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -2,14 +2,14 @@ pkgname=lib3270 -pkgver=5.3 +pkgver=5.4 pkgrel=0 pkgdesc="TN3270 Access library" -url="https://github.com/PerryWerneck/lib3270/" +url="https://github.com/PerryWerneck/lib3270" arch=(i686 x86_64) license=(GPL) depends=() -makedepends=(autoconf automake make openssl) +makedepends=(autoconf automake make openssl libtool) checkdepends=() #groups=(gnome) @@ -17,13 +17,15 @@ checkdepends=() source=($pkgname-$pkgver.tar.xz) sha256sums=('SKIP') -provides=($pkgname) +provides=($pkgname) conflicts=($pkgname) prepare() { cd $pkgname-$pkgver + mkdir -p scripts + touch scripts/config.rpath NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-static } build() { @@ -36,3 +38,4 @@ package() { DESTDIR="$pkgdir" make install } + diff --git a/debian/rules b/debian/rules index d828a25..f4c783d 100644 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,7 @@ build-stamp: mkdir -p scripts automake --add-missing 2> /dev/null | true - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-static make all # --- end custom part for compiling diff --git a/rpm/lib3270.spec b/rpm/lib3270.spec index af4b34c..f973235 100644 --- a/rpm/lib3270.spec +++ b/rpm/lib3270.spec @@ -18,7 +18,7 @@ Name: lib3270 -Version: 5.3 +Version: 5.4 Release: 0 Summary: TN3270 Access library Group: Development/Libraries/C and C++ @@ -74,14 +74,14 @@ Header files for the TN3270 access library. %prep %setup -q NOCONFIGURE=1 ./autogen.sh -%configure --with-release=%{release} +%configure --with-release=%{release} --disable-static %build make all %{?_smp_mflags} %install %make_install -%find_lang %{name} langfiles +%find_lang %{name}-%{MAJOR_VERSION}.%{MINOR_VERSION} langfiles %fdupes %{buildroot}/%{_prefix} -- libgit2 0.21.2