From aae262e7e048c5f9081e533e27be676fac24adfd4f5010be83d081eb4caf1077 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 Mar 2015 09:27:54 +0000 Subject: [PATCH] Remove osmo-version.diff OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-abis?expand=0&rev=8 --- libosmo-abis.spec | 9 +++++---- osmo-version.diff | 23 ----------------------- 2 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 osmo-version.diff diff --git a/libosmo-abis.spec b/libosmo-abis.spec index 14cf66b..24f52f9 100644 --- a/libosmo-abis.spec +++ b/libosmo-abis.spec @@ -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 diff --git a/osmo-version.diff b/osmo-version.diff deleted file mode 100644 index e8907aa..0000000 --- a/osmo-version.diff +++ /dev/null @@ -1,23 +0,0 @@ -From 6cd9d765a7fcd87f483578ba2b973b879723083b Mon Sep 17 00:00:00 2001 -From: Jan Engelhardt -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 -