File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Version: 2.1.2
13
13
Release: 1%{?dist }
14
14
License: GPLv2+
15
15
Group: System Environment/Daemons
16
- Source0: http://opensips.org/pub/ %{name }/%{ version }/src/%{ name } -%{version }-tls_src .tar.gz
16
+ Source0: http://download. opensips.org/%{name }-%{version }.tar.gz
17
17
URL: http://opensips.org
18
18
19
19
BuildRequires: expat-devel
@@ -735,7 +735,7 @@ the exchange of instant messages between SIP clients and XMPP(jabber)
735
735
clients.
736
736
737
737
%prep
738
- %setup -q -n %{name }-%{version }-tls
738
+ %setup -q -n %{name }-%{version }
739
739
740
740
%build
741
741
LOCALBASE=/usr NICER=0 CFLAGS=" %{optflags}" %{? _with_oracle:ORAHOME=" $ORACLE_HOME " } %{__make} all %{?_smp_mflags } TLS=1 \
@@ -829,21 +829,6 @@ if [ $1 = 0 ]; then
829
829
fi
830
830
%endif
831
831
832
- %if 0%{?fedora } > 16 || 0%{?rhel } > 6
833
- %triggerun -- %{name } < 1.7.2-1
834
- # Save the current service runlevel info
835
- # User must manually run systemd-sysv-convert --apply opensips
836
- # to migrate them to systemd targets
837
- /usr/bin/systemd-sysv-convert --save %{name } > /dev/null 2> &1 || :
838
-
839
- # Run these because the SysV package being removed won't do them
840
- /sbin/chkconfig --del %{name } > /dev/null 2> &1 || :
841
- /bin/systemctl try-restart %{name }.service > /dev/null 2> &1 || :
842
-
843
- %triggerun -- opensips < 1.7.2-4
844
- chown -R %{name }:%{name } %{_sysconfdir }/%{name }
845
- %endif
846
-
847
832
%files
848
833
%{_sbindir }/opensips
849
834
%{_sbindir }/opensipsctl
You can’t perform that action at this time.
0 commit comments