Re: [Rpm-maint] [rpm-software-management/rpm] Does not the rpmbuild command execute (de)compression of files in parallel? (#113)

2017-01-01 Thread Geunsik Lim
As a workaround, How about we try to do the below way? At this time, Let's 
assume that the default compression of rpm package is "*.tar.bz2".
```
u$> cat ./sample.spec
  1 Summary: The "Hello World" program from GNU 
   
  2 Name: hello
  3 Version: 2.8
  4 Release: 1%{?dist}
  5 Source0: %{name}-%{version}.tar.bz2  <= HERE
  6 License: GPLv3+
  7 Group: Development/Tools
```

Replace the existing bzip2 command with the pbzip2 command as an workaround on 
Ubuntu 16.04 X64 LTS.
```
u$> sudo apt-get install rpm pigz pbzip2 lbzip2 
u$> sudo mv /bin/bzip2 /bin/bzip2.disable
u$> sudo cp /usr/bin/pbzip2 /bin/bzip2

```
And the, let's execute "rpmbuild -bb sample.spec" command. Is it okay? 
Alternatively, I can utilize 'alias' command as following: 
```
alias tar='tar --use-compress-program=pbzip2'
alias gzip='/usr/bin/pigz'
alias gunzip='/usr/bin/unpigz'
alias bzip2='/usr/bin/pbzip2'
alias bunzip2='/usr/bin/pbunzip2'
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/113#issuecomment-269932782___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Does not the rpmbuild command execute (de)compression of files in parallel? (#113)

2017-01-01 Thread Geunsik Lim
It seems that a 'rpmbuild' command only support single-core cpu environment. 
Can we decompress and compress the binary files  in parallel while executing a 
rpm packaging operation with 'rpmbuild' command? 

 * The log messages while executing 'rpmbuild' command
```
 
[   46s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature 
--target=armv7l-tizen-linux --define '_build_create_debug 1' -ba 
/home/abuild/rpmbuild/SOURCES/chromium-efl.spec
[   46s] Building target platforms: armv7l-tizen-linux
[   46s] Building for target armv7l-tizen-linux
[   46s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nfcsUa
[   46s] + umask 022
[   46s] + cd /home/abuild/rpmbuild/BUILD
[   46s] + cd /home/abuild/rpmbuild/BUILD
[   46s] + rm -rf chromium-efl-47.2526.69.49
[   46s] + /bin/bzip2 -dc 
/home/abuild/rpmbuild/SOURCES/chromium-efl-47.2526.69.49.tar.bz2
[   46s] + /bin/tar -xf -
[  161s] + STATUS=0
[  161s] + '[' 0 -ne 0 ']'
[  161s] + cd chromium-efl-47.2526.69.49
[  161s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
[  164s] + exit 0
[  164s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JOaBJs
```

As we can see, the rpmbuild uses out-of-date bzip command without  up-to-date  
pbzip command. 
Anyone who had similiar experience like me in multi-core CPU(s)? 



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/113___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Add --with-kde KF5 support (#112)

2017-01-01 Thread ニール・ゴンパ
Conan-Kudo approved this pull request.

Looks good to me!



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/112#pullrequestreview-14818649___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Add --with-kde KF5 support (#112)

2017-01-01 Thread Igor Gnatenko
ignatenkobrain approved this pull request.

lgtm



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/112#pullrequestreview-14818638___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Add --with-kde KF5 support (#112)

2017-01-01 Thread Ville Skyttä

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/112

-- Commit Summary --

  * find-lang.sh: Add --with-kde KF5 support

-- File Changes --

M scripts/find-lang.sh (13)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/112.patch
https://github.com/rpm-software-management/rpm/pull/112.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/112
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint