Hello community, here is the log from the commit of package ushare for openSUSE:Factory checked in at 2017-03-11 15:19:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ushare (Old) and /work/SRC/openSUSE:Factory/.ushare.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ushare" Sat Mar 11 15:19:11 2017 rev:8 rq:478624 version:1.1a Changes: -------- --- /work/SRC/openSUSE:Factory/ushare/ushare.changes 2015-06-23 11:59:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ushare.new/ushare.changes 2017-03-11 15:19:12.263226918 +0100 @@ -1,0 +2,10 @@ +Sat Mar 11 08:03:43 UTC 2017 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Mon Feb 20 10:58:55 CET 2017 - ku...@suse.de + +- Require insserv since we call it + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ushare.spec ++++++ --- /var/tmp/diff_new_pack.sbXMCb/_old 2017-03-11 15:19:12.795151644 +0100 +++ /var/tmp/diff_new_pack.sbXMCb/_new 2017-03-11 15:19:12.795151644 +0100 @@ -1,7 +1,7 @@ # # spec file for package ushare # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke <sasc...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -42,14 +42,9 @@ Patch7: ushare.conf.defs.patch # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch8: ushare.conf.locale.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: libupnp-devel -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?mandriva_version} BuildRequires: pkgconfig -%else -BuildRequires: pkg-config -%endif +BuildRequires: pkgconfig(libupnp) +Requires(pre): %insserv_prereq %description GeeXboX uShare is a UPnP (TM) A/V Media Server. It implements the server @@ -65,32 +60,29 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p0 -%patch7 -p0 -%patch8 -p0 +%patch6 +%patch7 +%patch8 %build export CFLAGS="%{optflags} -fgnu89-inline" export LDFLAGS="%{optflags}" +# not autotools configure ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc --disable-strip --disable-optimize make %{?_smp_mflags} %install -%makeinstall \ -%if %{defined fedora} -localedir=%{buildroot}/%{_datadir}/locale -%endif -%nil -install -m 755 %{SOURCE2} %{buildroot}%{_initddir}/ushare +%make_install +install -Dpm 755 %{SOURCE2} %{buildroot}%{_initddir}/ushare install -d %{buildroot}%{_prefix}/sbin -ln -sf /etc/init.d/ushare %{buildroot}%{_sbindir}/rc%{name} +ln -sf %{_initddir}/ushare %{buildroot}%{_sbindir}/rc%{name} %find_lang %{name} %preun %{stop_on_removal ushare} %postun -%{insserv_cleanup} +%insserv_cleanup %post %{fillup_and_insserv -f ushare}