Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Kill strange versioning prefix/postfix

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information...
commit 81150e46e12c4426f00b1886431f62504dfad512 1 parent 633948c
@lemenkov authored
Showing with 9 additions and 8 deletions.
  1. +9 −8 resiprocate.spec.in
View
17 resiprocate.spec.in
@@ -29,11 +29,11 @@ commercial and open-source products. The project is dedicated to maintaining
a complete, correct, and commercially usable implementation of SIP and a few
related protocols.
-%package -n libresiprocate-1_8
+%package -n libresiprocate
Summary: shared libraries http://www.resiprocate.org
Group: Productivity/Telephony/SIP
-%description -n libresiprocate-1_8
+%description -n libresiprocate
reSIProcate is a framework that aims to fully implement the SIP protocol
in first class C++. It is intended for use in other applications,
such as the repro SIP proxy.
@@ -41,12 +41,12 @@ This package provides the core libraries: librutil (utilities),
libresip (SIP stack/RFC compliant message parsing) and
libdum (SIP Dialog Usage Manager, a state machine for SIP dialogs).
-%package 1_8-devel
+%package devel
Summary: Resiprocate development files
Group: Development/Libraries
Requires: %{name} = %{version}
-%description 1_8-devel
+%description devel
Resiprocate SIP Stack development files.
%package repro
@@ -155,7 +155,7 @@ getent passwd return >/dev/null || \
useradd -r -g return -d / -s /sbin/nologin \
-c "reTurn TURN server" return
-%post -n libresiprocate-1_8 -p /sbin/ldconfig
+%post -n libresiprocate -p /sbin/ldconfig
%post repro
/sbin/ldconfig
@@ -187,7 +187,8 @@ then
/bin/systemctl stop resiprocate-turn-server.service > /dev/null 2>&1 || :
fi
-%postun -n libresiprocate-1_8 -p /sbin/ldconfig
+%postun -n libresiprocate -p /sbin/ldconfig
+
%postun repro
/sbin/ldconfig
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
@@ -203,13 +204,13 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart resiprocate-turn-server.service >/dev/null 2>&1 || :
fi
-%files -n libresiprocate-1_8
+%files -n libresiprocate
%{_libdir}/librutil*.so
%{_libdir}/libresip*.so
%{_libdir}/libdum*.so
%{_libdir}/libb2bua*.so
-%files 1_8-devel
+%files devel
%{_includedir}/rutil/*.hxx
%{_includedir}/rutil/*/*.hxx
%{_includedir}/resip/stack/*.hxx
Please sign in to comment.
Something went wrong with that request. Please try again.