��� �������� ������� ����������� ����� � host-�������, �� ���������� ������?

������������ ��������� ������� �� �������� ����� �����������??

������� ��������� ������ � ����� ������:
fonts-ttf-%fname-1.04-alt1.src.rpm

rpmbph: ���������� � --define _specdir --define _sourcedir
rpmgp -r ��� git -
���� ���� ������� %name -
����������, gear-update 

apt-cache list-extras

����� ������� BuildArch: noarch ��� ���������������
����� ��������� ���������� ���� ������ ��� ���������������


todo rebuild:
#!/bin/sh -le
${verbose:+set -x}
export -n target ||:
exec time rpmbuild --target="\$target" $nodeps -bs "\$@"


rpmbph ���� �� ����� �������� � git
!!
�������� ������� ������ �����, ����� �� ���������� ��� ������� ������, � ������ �� ���������� ������
����������� �� ��������� (����� ����� ������� ������� ������� ������). ����� �������, ���� � ������ �������� �� �����,
� ��� ������ ����� ������ � ������� ������ �� �������.

��� rpmbb � git �� ������� ��� ������

����� ������� ������ ���������� � ������� ������ ��� Req (� �� ����� �� ��� )
��������� ������������, ������ �� �������� hasher
������ ����� ���������� � src.rpm �� SRPMS

����� � �������:
����� ALT - ����� ������
pkgrepl.rpm - �������, ������������ ������
pkgrepl.pclinux - ��� ���������� �������
pkgrepl.pclinux.2007 - ��� ���������� ������ �������
����������, ������ (�� ALT) �� ��� � ������ ������� ������

������� -x ��� ���̣���� ������ �� x86_64?
%homedir � ����������� tmp �� ��������?

����������� rpm -bE ����� rpm --showrc ?


=== ������� ���������� ===

���� �ݣ ������ � ������� � ���� ���� (������ �������, � �� �������). �� 
���� ���������� �� ������ (� ��� ����� � �����, ���������� 
����������������). �� ���, �������, �ݣ ����� ������� ������.


 
=== ������ 1.6 ===
 - �� ������� ����� ����� ����� %changelog ��� rpmcs
 - �������� ������ ������������� ������������ �� ���� � ����
# - ��������� md5sum ��������� ��� � PLD ��� Source
 - �������� �������� �� �������� �������� � LICENSE � ���������� INSTALL
 - rpmbph ��� src.rpm (����� hasher):
   --init-root, .in, rpm -i src.rpm, rpmbph (�� ���������� � hasher), .out { ������� � ������� }
   ����� ���� ��������� ����� � hasher ��� ������??
# - ���� rpm -bE �����������, ��� ���������� - ���������.
 - ����������� ����� �������, ���������������
 - ��������/������� �������� � ��������� �������?

=== ������ 1.7 ===
# - �������� rpmbugs -n (�������� ����)
 - sles_version, rhel_version, alt_version
 - myhsh �� ���������� ��� ��������� ������?
 - how to use --build-args= for hsh? - ������� ���������� � myhsh ��� ���������� ��� rpm
 - ������� ���������� ������������?
 - ��������� ������ �� ������ ��������, � ��ޣ��� �� ���������� (diff �����)
# - � rpmbph �������� ����������� -a M24 M23 - ������ ��� ������
# - rpmbb -r -bi �� �������� :(
 - ��������� ������������ .pot
 - ��������� ������ �������� pot -� echog (�������� �� message)

=== ������ 2.0 ===
 - ������� ���� /etc/rpm/*functions
 - -v ��� ���������� ������������ (��� �� DEBUG � �������) - ������� VERBOSE
 - TODO: �������� ����������� �������� ����������� �������
   (�������� ������ ���������� �� �� -- � �����)
 + ��������� ����� ��� apt � ���� ��������, ����� �� ��������
 - -i -u ������� ������ ������ ������� �������������
 - ������� �� ����� ��������� ���� ������ (����� ��������)?


������ ��������� (���� ������ ������ ���������� ��� ������) �����
��� ������ ������� ���� alias ����
alias hsh="hsh --build='--define \"_unpackaged_files_terminate_build 1\"'"
�� ������ ��� ��� ~/.rpmmacros

Unpackaged:
awk '
� � � � � � on { if (/^ +\//) print $0; else on=0 }
� � � � � � /^warning: Installed \(but unpackaged\)/ { on=1; print $0 }
� � � � ' <"$LOG_FILE"


----
$ list="line1
 line2
 line3"
$ a=qqq
$ while read l; do a="$l"; done < <(echo "$list")
$ echo $a
line3


> >>:) 3. ���� �� �������, ����� ������� ������� ���������
> >>
> >>������������ �� ���������, � ����� �������� ��������
> >> ��������� ����������, ��� �� ����� apt.conf ��� �����
> >> ������������.
> >
> >�� ����� ��������.
>
> ���������� �������� rpmgs --help :)

#   - short-circuit �������� ������ � -bc � -bi �� ������ ���������� :(