Jan Engelhardt 2019-02-21 20:18:56 +00:00 committed by Git OBS Bridge
parent ac28ba5cc2
commit ed661a4769

View File

@ -67,19 +67,19 @@ applications that want to make use of libosmoranap.
%autosetup -p1 %autosetup -p1
%build %build
echo "%{version}" >.tarball-version echo "%version" >.tarball-version
autoreconf -fi autoreconf -fi
%configure \ %configure \
--disable-static \ --disable-static \
--docdir="%_docdir/%name" \ --docdir="%_docdir/%name" \
--with-systemdsystemunitdir=%{_unitdir} --with-systemdsystemunitdir="%_unitdir"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install %make_install
find "%buildroot" -type f -name "*.la" -delete -print find "%buildroot" -type f -name "*.la" -delete -print
install -d %{buildroot}/%{_sbindir} install -d %buildroot/%_sbindir
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcosmo-hnbgw ln -s %_sbindir/service %buildroot/%_sbindir/rcosmo-hnbgw
%check %check
if ! make %{?_smp_mflags} check; then if ! make %{?_smp_mflags} check; then