Hello community, here is the log from the commit of package nxtvepg for openSUSE:Factory checked in at 2017-03-16 09:43:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nxtvepg (Old) and /work/SRC/openSUSE:Factory/.nxtvepg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nxtvepg" Thu Mar 16 09:43:41 2017 rev:20 rq:479786 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nxtvepg/nxtvepg.changes 2012-03-20 11:30:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nxtvepg.new/nxtvepg.changes 2017-03-16 09:52:09.224534640 +0100 @@ -1,0 +2,13 @@ +Wed Mar 15 19:16:24 UTC 2017 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Use url for source + +------------------------------------------------------------------- +Wed Mar 15 18:43:55 UTC 2017 - dims...@opensuse.org + +- Add %insserv_prereq PreReq: since we still install legacy initd + services it is our own duty to ensure the legacy tools to handle + them are installed. + +------------------------------------------------------------------- Old: ---- nxtvepg-2.8.1.tar.bz2 New: ---- nxtvepg-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nxtvepg.spec ++++++ --- /var/tmp/diff_new_pack.0hziCz/_old 2017-03-16 09:52:09.872442885 +0100 +++ /var/tmp/diff_new_pack.0hziCz/_new 2017-03-16 09:52:09.872442885 +0100 @@ -1,7 +1,7 @@ # # spec file for package nxtvepg # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,19 @@ Name: nxtvepg -BuildRequires: tk-devel -BuildRequires: xorg-x11-devel -Url: http://nxtvepg.sourceforge.net/ Version: 2.8.1 Release: 0 Summary: Nextview EPG Decoder and Browser License: GPL-2.0+ Group: Hardware/TV -Source0: %{name}-%{version}.tar.bz2 +Url: http://nxtvepg.sourceforge.net/ +Source0: http://prdownloads.sourceforge.net/nxtvepg/%{name}-%{version}.tar.gz Source1: rc.nxtvepg Patch1: nxtvepg-Makefile.patch Patch2: nxtvepg-no-hardcoded-tcl-dir.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: tk-devel +BuildRequires: xorg-x11-devel +Requires(pre): %insserv_prereq %description In this software package, find a decoder for Nextview--an electronic TV @@ -48,50 +48,30 @@ * In Turkey: TRT-1 (coverage: 17 networks) - - -Authors: --------- - Thorsten Zoerner <to...@nefkom.net> - %prep %setup -q %patch1 %patch2 %build -export CFLAGS="$RPM_OPT_FLAGS" -make prefix=/usr \ - mandir=/usr/share/man/man1 \ - SYS_DBDIR=/var/tmp/nxtvdb +export CFLAGS="%{optflags}" +make prefix=%{_prefix} \ + mandir=%{_mandir}/man1 \ + SYS_DBDIR=%{_localstatedir}/tmp/nxtvdb %install make ROOT=%{buildroot} \ - prefix=/usr \ - mandir=%{buildroot}/usr/share/man/man1 \ - SYS_DBDIR=/var/tmp/nxtvdb \ + prefix=%{_prefix} \ + mandir=%{buildroot}%{_mandir}/man1 \ + SYS_DBDIR=%{_localstatedir}/tmp/nxtvdb \ install # remove the daemon-only binary - /usr/bin/nxtvepg is capable of running as # daemon too, so packaging nxtvepgd would mean duplication for most use cases -rm %buildroot/usr/bin/nxtvepgd %buildroot/usr/share/man/man1/nxtvepgd.1* +rm %{buildroot}%{_bindir}/nxtvepgd %{buildroot}%{_mandir}/man1/nxtvepgd.1* # init script -mkdir -p %{buildroot}/etc/init.d %{buildroot}/usr/sbin -install -m 755 %{SOURCE1} %{buildroot}/etc/init.d/nxtvepg -ln -s ../../etc/init.d/nxtvepg %{buildroot}/usr/sbin/rcnxtvepg - -%files -%defattr(-,root,root) -%config /etc/init.d/nxtvepg -/usr/sbin/rcnxtvepg -/usr/bin/nxtvepg -/usr/share/nxtvepg -/usr/share/man/man1/nxtvepg.1* -%dir /usr/share/X11/app-defaults -%{_datadir}/X11/app-defaults/Nxtvepg -%doc CHANGES COPYRIGHT TODO README manual.html - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_initddir} %{buildroot}%{_prefix}/sbin +install -m 755 %{SOURCE1} %{buildroot}%{_initddir}/nxtvepg +ln -s ../..%{_initddir}/nxtvepg %{buildroot}%{_sbindir}/rcnxtvepg %preun %stop_on_removal nxtvepg @@ -100,4 +80,15 @@ %restart_on_update nxtvepg %insserv_cleanup +%files +%defattr(-,root,root) +%config %{_initddir}/nxtvepg +%{_sbindir}/rcnxtvepg +%{_bindir}/nxtvepg +%{_datadir}/nxtvepg +%{_mandir}/man1/nxtvepg.1* +%dir %{_datadir}/X11/app-defaults +%{_datadir}/X11/app-defaults/Nxtvepg +%doc CHANGES COPYRIGHT TODO README manual.html + %changelog