Репозиторий Sisyphus
Последнее обновление: 20 мая 2019 | Пакетов: 17692 | Посещений: 13571348
en ru br
Репозитории ALT
S:0.37.0-alt1
5.1: 0.34.4-alt1
4.1: 0.33-alt1.1
4.0: 0.30-alt3
3.0: 0.26-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: rpm-build-python

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: rpm-build-python
Version: 0.36.9
Release: alt1

# redefine python_libdir for 0.29.alt2 is buggy

%define python_libdir %_target_libdir/python%__python_version

Summary: RPM helper macros to rebuild python packages
License: GPLv2+
Group: Development/Other

Source: %name-%version.tar
BuildArch: noarch
Packager: Python Development Team <python at packages.altlinux.org>

Conflicts: rpm-build < 4.0.4-alt100.91
Requires: python-base >= 2.7.2-alt3
Requires: file >= 4.26-alt11

AutoReqProv: yes, nopython

# Automatically added by buildreq on Mon May 11 2009

BuildRequires: python-dev python-modules-encodings

%description
These helper macros provide possibility to rebuild
python modules by some Alt Linux Team Policy compatible way.

%prep
%setup

%build
sed -i 's/ at PYTHON_VERSION at /%__python_version/g' python
./test.sh

%install
install -pD -m644 python %buildroot%_rpmmacrosdir/python
install -pD -m644 python.env %buildroot%_rpmmacrosdir/python.env
install -pD -m644 python.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
install -pD -m755 python.prov %buildroot%_rpmlibdir/python.prov
install -pD -m755 python.prov.py %buildroot%_rpmlibdir/python.prov.py
install -pD -m755 python.prov.files %buildroot%_rpmlibdir/python.prov.files
install -pD -m755 python.req %buildroot%_rpmlibdir/python.req
install -pD -m755 python.req.py %buildroot%_rpmlibdir/python.req.py
install -pD -m755 python.req.files %buildroot%_rpmlibdir/python.req.files
install -pD -m755 python.compileall.py %buildroot%_rpmlibdir/python.compileall.py

unset RPM_PYTHON

%files
%_rpmmacrosdir/python
%_rpmmacrosdir/python.env
%_sysconfdir/buildreqs/files/ignore.d/%name
%_rpmlibdir/python.compileall.py
%_rpmlibdir/python.req
%_rpmlibdir/python.req.py
%_rpmlibdir/python.req.files
%_rpmlibdir/python.prov
%_rpmlibdir/python.prov.py
%_rpmlibdir/python.prov.files
%doc python-module-SAMPLE.spec policy notes doc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin