Accepting request 220425 from home:jengelh:branches:Base:System

- Spec metadata update, remove redundant %clean section,
  do parallel build with %_smp_mflags

OBS-URL: https://build.opensuse.org/request/show/220425
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=86
This commit is contained in:
David Haller 2014-01-31 04:18:13 +00:00 committed by Git OBS Bridge
parent edcea5f2c8
commit a0f20b3289
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 30 21:47:13 UTC 2014 - jengelh@inai.de
- Spec metadata update, remove redundant %clean section,
do parallel build with %_smp_mflags
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 10 20:51:29 UTC 2014 - dnh@opensuse.org Fri Jan 10 20:51:29 UTC 2014 - dnh@opensuse.org

11
mc.spec
View File

@ -20,9 +20,11 @@ Name: mc
Summary: Midnight Commander Summary: Midnight Commander
License: GPL-3.0+ License: GPL-3.0+
Group: Productivity/File utilities Group: Productivity/File utilities
Url: http://www.midnight-commander.org/ Url: http://midnight-commander.org/
Version: 4.8.11 Version: 4.8.11
Release: 0.0 Release: 0
#Git-Clone: git://github.com/MidnightCommander/mc
Source: http://ftp.midnight-commander.org/mc-%{version}.tar.xz Source: http://ftp.midnight-commander.org/mc-%{version}.tar.xz
Source1: x11_browser Source1: x11_browser
Source2: %{name}.desktop Source2: %{name}.desktop
@ -137,7 +139,7 @@ export X11_WWW="%{_datadir}/mc/x11_browser"
--enable-vfs-smb --with-smb-configdir=%{_sysconfdir}/samba \ --enable-vfs-smb --with-smb-configdir=%{_sysconfdir}/samba \
--disable-vfs-fish --disable-vfs-fish
make %{?jobs:-j%{jobs}} V=1 make %{?_smp_mflags} V=1
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -161,9 +163,6 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%fdupes -s %{buildroot}%{_prefix} %fdupes -s %{buildroot}%{_prefix}
%clean
rm -rf %{buildroot}
%post %post
%if 0%{?suse_version} >= 1140 %if 0%{?suse_version} >= 1140
%set_permissions %{_libexecdir}/mc/cons.saver %set_permissions %{_libexecdir}/mc/cons.saver