Change in libosmocore[master]: contrib: integrate RPM spec

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed May 20 10:29:05 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/18272 )

Change subject: contrib: integrate RPM spec
......................................................................

contrib: integrate RPM spec

Remove OpenSUSE bug report link, set version to @VERSION@, make it build with
CentOS 8 etc.

Related: OS#4550
Change-Id: I59255889740195ec811a947a7130ae0918ea4b4d
---
M .gitignore
M configure.ac
R contrib/libosmocore.spec.in
3 files changed, 7 insertions(+), 10 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/.gitignore b/.gitignore
index 5224233..a9dd303 100644
--- a/.gitignore
+++ b/.gitignore
@@ -99,3 +99,5 @@
 # code coverage reports
 libosmocore-*-coverage*
 coverage-cobertura.xml
+
+contrib/libosmocore.spec
diff --git a/configure.ac b/configure.ac
index ac887a0..f69c78d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -441,4 +441,5 @@
 	Doxyfile.coding
 	Doxyfile.gb
 	Doxyfile.ctrl
-	Makefile)
+	Makefile
+	contrib/libosmocore.spec)
diff --git a/contrib/libosmocore.spec b/contrib/libosmocore.spec.in
similarity index 98%
rename from contrib/libosmocore.spec
rename to contrib/libosmocore.spec.in
index 1ea7a8e..a5af3e9 100644
--- a/contrib/libosmocore.spec
+++ b/contrib/libosmocore.spec.in
@@ -12,14 +12,8 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
-%define version_unconverted 1.3.0.94
-
 Name:           libosmocore
-Version:        1.3.0.94
+Version:        @VERSION@
 Release:        0
 Summary:        The Open Source Mobile Communications Core Library
 License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
@@ -30,7 +24,7 @@
 BuildRequires:  libtool >= 2
 BuildRequires:  lksctp-tools-devel
 BuildRequires:  pkg-config >= 0.20
-BuildRequires:  python2
+BuildRequires:  python3
 BuildRequires:  xz
 BuildRequires:  pkgconfig(gnutls) >= 2.12.0
 BuildRequires:  pkgconfig(libpcsclite)
@@ -294,7 +288,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       libosmocore-devel = %version
 Requires:       libosmousb0 = %version
-Requires:       libusb-1_0-devel
+Requires:       pkgconfig(libusb-1.0)
 
 %description -n libosmousb-devel
 The libosmosub library in particular contains routines for USB device

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/18272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I59255889740195ec811a947a7130ae0918ea4b4d
Gerrit-Change-Number: 18272
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: roox <mardnh at gmx.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200520/09c84fcf/attachment.htm>


More information about the gerrit-log mailing list