1
0
forked from pool/libosmo-abis

Remove osmo-version.diff

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-abis?expand=0&rev=8
This commit is contained in:
Jan Engelhardt 2015-03-01 09:27:54 +00:00 committed by Git OBS Bridge
parent 6ba242b0da
commit aae262e7e0
2 changed files with 5 additions and 27 deletions

View File

@ -26,10 +26,8 @@ Url: http://openbsc.osmocom.org/trac/wiki/libosmo-abis
#Git-Clone: git://git.osmocom.org/libosmo-abis
#Snapshot: 0.3.1
#Update osmo-version.diff too!
Source: %name-%version.tar.xz
Patch1: osmo-version.diff
Patch2: osmo-talloc.diff
Patch1: osmo-talloc.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake >= 1.6
@ -100,9 +98,10 @@ applications that want to make use of libosmotrau.
%prep
%setup -qn %name
%patch -P 1 -P 2 -p1
%patch -P 1 -p1
%build
echo "%version" >.tarball-version
autoreconf -fiv
%configure --enable-shared --disable-static
make %{?_smp_mflags}
@ -126,6 +125,7 @@ make %{?_smp_mflags} check
%files -n libosmoabis-devel
%defattr(-,root,root)
%doc COPYING
%dir %_includedir/osmocom
%_includedir/osmocom/abis/
%_libdir/libosmoabis.so
@ -137,6 +137,7 @@ make %{?_smp_mflags} check
%files -n libosmotrau-devel
%defattr(-,root,root)
%doc COPYING
%dir %_includedir/osmocom
%_includedir/osmocom/trau
%_libdir/libosmotrau.so

View File

@ -1,23 +0,0 @@
From 6cd9d765a7fcd87f483578ba2b973b879723083b Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 17 Feb 2013 21:53:34 +0100
Subject: [PATCH] build: set version
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 08abd19..a69ff8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([libosmo-abis],
- m4_esyscmd([./git-version-gen .tarball-version]),
+ [0.3.1],
[openbsc@lists.osmocom.org])
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip 1.6])
--
1.7.10.4