commit smolt for openSUSE:Factory
Hello community, here is the log from the commit of package smolt for openSUSE:Factory checked in at Fri May 6 11:48:43 CEST 2011. -------- --- smolt/smolt.changes 2011-03-21 10:41:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/smolt/smolt.changes 2011-05-05 14:25:45.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 5 11:29:31 UTC 2011 - puzel@novell.com + +- package python bytecode (bnc#680123) +- create smolt user (bnc#683293) +- do not package PrivacyPolicy twice + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smolt.spec ++++++ --- /var/tmp/diff_new_pack.KvkooB/_old 2011-05-06 11:44:47.000000000 +0200 +++ /var/tmp/diff_new_pack.KvkooB/_new 2011-05-06 11:44:47.000000000 +0200 @@ -19,7 +19,7 @@ Name: smolt Version: 1.4.3 -Release: 2 +Release: 3 License: GPLv3+ Summary: Hardware Profiler Url: https://fedorahosted.org/smolt/ @@ -31,6 +31,7 @@ Patch3: smolt-pci_ids-path.patch BuildRequires: fdupes BuildRequires: gettext +BuildRequires: python-devel BuildRequires: update-desktop-files PreReq: /bin/cat PreReq: coreutils @@ -38,6 +39,7 @@ Requires: dbus-1-python Requires: python-simplejson Requires: python-urlgrabber +Requires(pre): pwdutils BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -72,7 +74,7 @@ %patch1 %patch2 %patch3 -p1 -cp %{S:1} . +cp %{SOURCE1} . %build cd client/ @@ -81,18 +83,24 @@ %install pushd client %make_install -install -D -m 755 %{S:1} %{buildroot}/%{_initddir}/smolt +install -D -m 755 %{SOURCE1} %{buildroot}/%{_initddir}/smolt ln -s %{_initddir}/smolt %{buildroot}/%{_bindir}/rcsmolt touch %{buildroot}/%{_sysconfdir}/smolt/hw-uuid rm -rf %{buildroot}%{_datadir}/locale/sr@latin %{buildroot}%{_datadir}/locale/default rm -rf %{buildroot}%{_datadir}/smolt/client/smoltFirstBoot.py +rm -rf %{buildroot}%{_datadir}/smolt/doc/PrivacyPolicy popd -%fdupes %{buildroot} %suse_update_desktop_file -G "Desktop Profiler" %{name} %find_lang %{name} mkdir -p %{buildroot}%{_localstatedir}/run touch %{buildroot}%{_localstatedir}/run/smolt_do_opensuse_run +#compile python bytecode (bnc#680123) +%py_compile %{buildroot}%{_datadir}/%{name}/client +%py_compile -O %{buildroot}%{_datadir}/%{name}/client + +%fdupes %{buildroot}%{_datadir} + %clean rm -rf %{buildroot} @@ -104,6 +112,10 @@ /bin/chown root:root %{_sysconfdir}/smolt/hw-uuid fi +groupadd -r %{name} &>/dev/null || : +useradd -r -s /sbin/nologin -d %{_datadir}/%{name} \ + -c 'user for smolt' -g %{name} %{name} &>/dev/null || : + %post if ! [ -f %{_sysconfdir}/smolt/hw-uuid ] then @@ -124,7 +136,6 @@ %dir %{_sysconfdir}/smolt %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/client -%dir %{_datadir}/%{name}/doc %ghost %{_sysconfdir}/smolt/hw-uuid %config(noreplace)%{_sysconfdir}/smolt/config.py %{_bindir}/rcsmolt @@ -132,26 +143,25 @@ %{_bindir}/smoltSendProfile %config %{_sysconfdir}/cron.d/%{name} %{_initddir}/%{name} -%{_datadir}/%{name}/client/__init__.py -%{_datadir}/%{name}/client/config.py -%{_datadir}/%{name}/client/deleteProfile.py -%{_datadir}/%{name}/client/fs_util.py -%{_datadir}/%{name}/client/gate.py -%{_datadir}/%{name}/client/i18n.py -%{_datadir}/%{name}/client/os_detect.py -%{_datadir}/%{name}/client/scan.py -%{_datadir}/%{name}/client/sendProfile.py -%{_datadir}/%{name}/client/smolt.py -%{_datadir}/%{name}/client/smolt_config.py -%{_datadir}/%{name}/client/software.py -%{_datadir}/%{name}/client/uuiddb.py -%{_datadir}/%{name}/client/MultipartPostHandler.py -%{_datadir}/%{name}/client/smolt_mythtv.py -%{_datadir}/%{name}/client/devicelist.py -%{_datadir}/%{name}/client/hwdata.py +%{_datadir}/%{name}/client/__init__.py* +%{_datadir}/%{name}/client/config.py* +%{_datadir}/%{name}/client/deleteProfile.py* +%{_datadir}/%{name}/client/fs_util.py* +%{_datadir}/%{name}/client/gate.py* +%{_datadir}/%{name}/client/i18n.py* +%{_datadir}/%{name}/client/os_detect.py* +%{_datadir}/%{name}/client/scan.py* +%{_datadir}/%{name}/client/sendProfile.py* +%{_datadir}/%{name}/client/smolt.py* +%{_datadir}/%{name}/client/smolt_config.py* +%{_datadir}/%{name}/client/software.py* +%{_datadir}/%{name}/client/uuiddb.py* +%{_datadir}/%{name}/client/MultipartPostHandler.py* +%{_datadir}/%{name}/client/smolt_mythtv.py* +%{_datadir}/%{name}/client/devicelist.py* +%{_datadir}/%{name}/client/hwdata.py* %{_datadir}/sugar %{_datadir}/%{name}/client/distros -%{_datadir}/%{name}/doc/PrivacyPolicy %{_mandir}/man1/smoltDeleteProfile.1.gz %{_mandir}/man1/smoltSendProfile.1.gz %ghost %{_localstatedir}/run/smolt_do_opensuse_run @@ -162,9 +172,9 @@ %{_bindir}/smoltGui %{_datadir}/icons/hicolor %{_datadir}/applications/smolt.desktop -%{_datadir}/%{name}/client/gui.py -%{_datadir}/%{name}/client/smoltGui.py -%{_datadir}/%{name}/client/privacypolicy.py +%{_datadir}/%{name}/client/gui.py* +%{_datadir}/%{name}/client/smoltGui.py* +%{_datadir}/%{name}/client/privacypolicy.py* %{_datadir}/%{name}/client/icons/* %{_mandir}/man1/smoltGui.1.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de