ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [SCM] packages/mkve: heads/sisyphus
  @ 2019-10-23  8:26 ` Dmitry V. Levin
  0 siblings, 0 replies; only message in thread
From: Dmitry V. Levin @ 2019-10-23  8:26 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

On Wed, Oct 23, 2019 at 08:03:30AM +0000, Andrey Bychkov wrote:
> Update of /people/mrdrew/packages/mkve.git
> 
> Changes statistics since `0.22-alt1' follows:
>  mkve.spec | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 
> Changelog since `0.22-alt1' follows:
> commit 9e218d0ae48fecfa74b9809cd629cae6e6fe366d
> Author: Andrey Bychkov <mrdrew@altlinux.org>
> Date:   Wed Oct 23 10:52:20 2019 +0300
> 
>     0.22-alt2
>     
>     - python2 -> python3
> 
> Full diff since `0.22-alt1' follows:
> diff --git a/mkve.spec b/mkve.spec
> index 9f3e33d..abbf6ab 100644
> --- a/mkve.spec
> +++ b/mkve.spec
> @@ -1,6 +1,6 @@
>  Name: mkve
>  Version: 0.22
> -Release: alt1
> +Release: alt2
>  Source: %name-%version.tar
>  
>  Summary: Package for initial managing of virtual environments
> @@ -11,6 +11,11 @@ Requires: su
>  Requires: mkve-cache
>  Conflicts: ve-build-scripts
>  
> +BuildRequires: python-tools-2to3
> +Requires: python3-module-libvirt
> +Requires: python3-module-lxml

Зачем вы добавляете Requires вручную?
Если они нужны, то почему они не добавляются автоматически?

Вообще, поскольку это наш проект, использовать в нём 2to3 противоестественно.

> +
> +
>  %description
>  Package for managing virtual environments, creating caches for such
>  environments.
> @@ -27,6 +32,11 @@ A tool to create caches for virtual environments.
>  %prep
>  %setup
>  
> +find -type f \( -name "%name" -o -name "%name-config" \) -exec 2to3 -w '{}' +
> +
> +sed -i 's|#! /usr/bin/env python|#! /usr/bin/env python3|' \
> +        $(find ./ \( -name "%name" -o -name "%name-config" \))
> +
>  %install
>  %makeinstall
>  
> @@ -43,6 +53,9 @@ A tool to create caches for virtual environments.
>  %_man1dir/mkve-cache*
>  
>  %changelog
> +* Wed Oct 23 2019 Andrey Bychkov <mrdrew@altlinux> 0.22-alt2
> +- python2 -> python3
> +
>  * Wed Aug 28 2019 Dmitry V. Levin <ldv@altlinux> 0.22-alt1
>  - mkve-cache:
>    + updated for hsh-fakedev removal;

-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-23  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23  8:26 ` [devel] [SCM] packages/mkve: heads/sisyphus Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git