* [sisyphus] subst in configure script
@ 2007-06-18 7:30 Alexander Volkov
2007-06-18 7:55 ` Yuriy Kashirin
0 siblings, 1 reply; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 7:30 UTC (permalink / raw)
To: sisyphus
Hi!
Добрался тут снова sams допилить - пытаюсь переложить web содержимое в
/var/www/html.
В configure есть определение
echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
Пытаюсь в спеке заменить в %prep:
%__subst "s|$prefix/share/sams|%webdir|g" configure
а при сборке в хешере
...
Requires: sams-config = 20070129-alt0.M40.3, MySQL-client,
/etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status),
/etc/rc.d/init.d(stop_daemon), coreutils, libc.so.6(GLIBC_2.0),
libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4),
libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0),
libmysqlclient.so.15(libmysqlclient_15), libpcre.so.3, rtld(GNU_HASH),
service, sh
Processing files: sams-web-20070129-alt0.M40.3
warning: File listed twice: /var/www/html/sams
error: Symlink points to BuildRoot: /var/www/html/sams ->
/usr/src/tmp/sams-buildroot/usr/share/sams
RPM build errors:
File listed twice: /var/www/html/sams
Symlink points to BuildRoot: /var/www/html/sams ->
/usr/src/tmp/sams-buildroot/usr/share/sams
Command exited with non-zero status 1
Где собаке порыться?
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] subst in configure script
2007-06-18 7:30 [sisyphus] subst in configure script Alexander Volkov
@ 2007-06-18 7:55 ` Yuriy Kashirin
2007-06-18 8:27 ` Alexander Volkov
0 siblings, 1 reply; 12+ messages in thread
From: Yuriy Kashirin @ 2007-06-18 7:55 UTC (permalink / raw)
To: sisyphus
On Понедельник 18 июня 2007, Alexander Volkov wrote:
> Hi!
> Добрался тут снова sams допилить - пытаюсь переложить web
> содержимое в /var/www/html.
> В configure есть определение
> echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
> Пытаюсь в спеке заменить в %prep:
> %__subst "s|$prefix/share/sams|%webdir|g" configure
>
> а при сборке в хешере
[ ... ]
> error: Symlink points to BuildRoot: /var/www/html/sams ->
> /usr/src/tmp/sams-buildroot/usr/share/sams
$prefix в аргументе subst раскрвается, и этот subst ничего не делает
(ищет не то, что вы хотите).
Попробуйте так:
-%__subst "s|$prefix/share/sams|%webdir|g" configure
+%__subst 's|$prefix/share/sams|%webdir|g' configure
или так:
-%__subst "s|$prefix/share/sams|%webdir|g" configure
+%__subst "s|\$prefix/share/sams|%webdir|g" configure
--
Best regards
Yuriy Kashirin
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] subst in configure script
2007-06-18 7:55 ` Yuriy Kashirin
@ 2007-06-18 8:27 ` Alexander Volkov
2007-06-18 9:50 ` Yuriy Kashirin
0 siblings, 1 reply; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 8:27 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
On 2007-06-18 10:55:18 +0300, Yuriy Kashirin wrote:
YK> On Понедельник 18 июня 2007, Alexander Volkov wrote:
YK> $prefix в аргументе subst раскрвается, и этот subst ничего не делает
YK> (ищет не то, что вы хотите).
YK> Попробуйте так:
YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
YK> +%__subst 's|$prefix/share/sams|%webdir|g' configure
Вышеуказанный вариант отработал, но ошибка та же.
YK> или так:
YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
YK> +%__subst "s|\$prefix/share/sams|%webdir|g" configure
собака таки не тут порылась...
warning: File listed twice: /var/www/html/sams
error: Symlink points to BuildRoot: /var/www/html/sams ->
/usr/src/tmp/sams-buildroot/usr/share/sams
RPM build errors:
File listed twice: /var/www/html/sams
Symlink points to BuildRoot: /var/www/html/sams ->
/usr/src/tmp/sams-buildroot/usr/share/sams
Откуда симлинк берется, если в поминках его не нашел....
Раньше в спеке была команда на линкование, но счас я её вычистил...
спек прикладываю, мож кто поглазастее :)
--
Regards, Alexander
[-- Attachment #2: sams.spec --]
[-- Type: text/plain, Size: 5735 bytes --]
%define webdir /var/www/html
Name: sams
Version: 20070129
Release: alt4
Summary: SAMS (Squid Account Management System)
License: GPL
Group: System/Servers
Url: http://sams.irc.perm.ru/
Source: %url/%name-%version.tar.gz
Source2: %name-README.alt
Packager: Alexander Volkov <vaa@altlinux.ru>
Summary(ru_RU.KOI8-R): Программное средство для администрирования доступа пользователей к прокси-серверу squid
# Automatically added by buildreq on Wed Mar 29 2006
BuildRequires: libMySQL-devel libpcre-devel
Requires: %name-config = %version-%release %name-web = %version-%release %name-server = %version-%release
BuildRequires: rpm-build-compat >= 0.4
%description
SAMS (Squid Account Management System)
%description -l ru_RU.KOI8-R
Программное средство для администрирования доступа пользователей к прокси-серверу squid
# -- Config --
%package config
Summary: Config for %name
Summary(ru_RU.KOI8-R): Конфигурационный файл для %name
License: GPL
Group: System/Servers
%description config
Config for %name
%description config -l ru_RU.KOI8-R
Конфигурационный файл для %name
# -- Server --
%package server
Summary: %name daemon
Summary(ru_RU.KOI8-R): Сервер %name
License: GPL
Group: System/Servers
Requires: %name-config = %version-%release
Requires: MySQL-client
%description server
Server %name
%description server -l ru_RU.KOI8-R
Сервер %name
# -- Web interface--
%package web
Summary: Handle the adminstration of %name over the web
Summary(ru_RU.KOI8-R): Управление %name через web
License: GPL
Group: System/Servers
Requires: %name-config = %version-%release
Requires: php-mysql
%description web
%name is a WEB-based interface and tool to manage users of SQUID proxy
- manage users access to SQUID - proxy with NTLM, NCSA authorization or IP address
- manage prohibition of users to access to URL
- manage to rewrite requested URL to graphical resources (banners, counters)
- save and build reports of users statistic
- switch of users access to SQUID proxy if his traffic quota is off
- manage a delay pools for users groups
%description web -l ru_RU.KOI8-R
%name это WEB интерфейс и инструменты для администрирования пользователей к прокси-серверу squid
- Администрирование системы через web интерфейс
- Ограничение объема трафика пользователей на месяц
- Автоматическое отключение пользователей, превысивших лимит.
- Ведение списков запрещенных для доступа пользователей ресурсов интернет.
- Настройка доступа пользователей через механизм шаблонов. Шаблоны позволяют:
+ назначить списки запрещенных сайтов для пользователей данного шаблона
+ определить объем трафика пользователя шаблона по умолчанию
+ назначить скорость доступа к интернет для пользователей шаблона (delay_pools)
+ ограничение доступа пользователей по времени и дням недели
- Разбиение пользователей на группы для удобства администрирования системы
- Формирование отчетов по трафику пользователей за любой отрезок времени:
+ Полученный пользователями трафик
+ Посещенные пользователями сайты
+ Полученные пользователями файлы
- Поддержка видов авторизации SQUID:
+ NTLM авторизация в домене Windows
+ NCSA авторизация
+ доступ по ip адресу
- Поддержка использования редиректоров SQUID:
+ Rejik
+ SquidGuard
- Категории пользователей SAMS:
+ пользователи с правами администрирования SAMS
+ пользователь Аудитор, для контроля трафика пользователей, без возможности администрирования системы
+ пользователи сети с расширенными правами, получают расширенный доступ к web интерфейсу, для контроля трафика пользователей своей группы
+ пользователи сети получают доступ к web интерфейсу для контроля своего трафика
- Посылку сообщений администратору при отключении пользователей при превышении трафика
- Для хранения данных используется СУБД MySQL
%prep
%setup -q -n %name
%__cp %SOURCE2 README.alt
find %_builddir/%name -type d -name CVS -print0 | xargs -r0 rm -fr
rm -f php/lang/koi8r-2-win1251.php
find %_builddir/%name -type f -print0 | xargs -r0 subst "s|LIBS = -I. \$(MYSQLLIBS) \$(PCRELIBS) \$(SUNLIB)|LIBS = -I. \$(MYSQLLIBS) \$(PCRELIBS) \$(SUNLIB) -lm|g"
%__subst 's|$prefix/share/sams|%webdir|g' configure
%build
%configure \
--with-configfile=%_sysconfdir/sams.conf \
--with-rcd-locations=%_initdir \
--with-httpd-locations=%webdir
%make_build
%install
%__mkdir_p %buildroot%_bindir
%__mkdir_p %buildroot%_datadir/%name
%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%webdir
%makeinstall \
RCDPATH=%buildroot%_initdir \
HTTPDPATH=%buildroot%webdir
%__subst "s|/usr/local/rejik|/usr/share/rejik|g" %buildroot%_sysconfdir/%name.conf
%__subst "s|SAMSPATH=/usr/local|SAMSPATH=/usr|g" %buildroot%_sysconfdir/%name.conf
%__subst "s|daemon|start_daemon|g" %buildroot%_initdir/samsd
%__subst "s|killproc|stop_daemon|g" %buildroot%_initdir/samsd
%post server
%post_service samsd
%preun server
%preun_service samsd
%post web
##%post_service httpd
%preun web
%__rm -f %_var/www/html/sams
%files
%files config
%doc CHANGELOG COPYING INSTALL* README* mysql etc/sams.conf.default
%config(noreplace) %_sysconfdir/%name.conf
%files server
%_bindir/*
%config %_sysconfdir/rc.d/*
%files web
%webdir/sams
%dir %attr(2770,root,apache) %webdir/sams
%dir %attr(2777,root,apache) %webdir/sams/data
%changelog
* Sun Jun 17 2007 Alexander Volkov <vaa@altlinux.ru> 20070129-alt3
- moved web content from /usr to /var/www/html
* Fri Apr 06 2007 Alexander Volkov <vaa@altlinux.ru> 20070129-alt2
- minor changes, README.alt added
* Fri Mar 09 2007 Alexander Volkov <vaa@altlinux.ru> 20070129-alt1
- New release, spec fixes
* Wed Mar 29 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 20051107-alt0
- initial build 4 Sisyphus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] subst in configure script
2007-06-18 8:27 ` Alexander Volkov
@ 2007-06-18 9:50 ` Yuriy Kashirin
2007-06-18 11:19 ` Alexander Volkov
2007-06-18 12:33 ` Alexander Volkov
0 siblings, 2 replies; 12+ messages in thread
From: Yuriy Kashirin @ 2007-06-18 9:50 UTC (permalink / raw)
To: sisyphus
On Понедельник 18 июня 2007, Alexander Volkov wrote:
> On 2007-06-18 10:55:18 +0300, Yuriy Kashirin wrote:
> YK> On Понедельник 18 июня 2007, Alexander Volkov wrote:
> YK> $prefix в аргументе subst раскрвается, и этот subst ничего не
> делает YK> (ищет не то, что вы хотите).
> YK> Попробуйте так:
> YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
> YK> +%__subst 's|$prefix/share/sams|%webdir|g' configure
Кстати, может быть, имелось в виду %webdir/sams ?
> Вышеуказанный вариант отработал, но ошибка та же.
>
> YK> или так:
> YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
> YK> +%__subst "s|\$prefix/share/sams|%webdir|g" configure
> собака таки не тут порылась...
> warning: File listed twice: /var/www/html/sams
> error: Symlink points to BuildRoot: /var/www/html/sams ->
> /usr/src/tmp/sams-buildroot/usr/share/sams
>
>
> RPM build errors:
> File listed twice: /var/www/html/sams
> Symlink points to BuildRoot: /var/www/html/sams ->
> /usr/src/tmp/sams-buildroot/usr/share/sams
> Откуда симлинк берется, если в поминках его не нашел....
Возможно, она не в спеке, а в make install. Надо поискать где-то в
Makefile.in
> Раньше в спеке была команда на линкование, но счас я её вычистил...
> спек прикладываю, мож кто поглазастее :)
Это тоже хвост от убранного линкования?
%preun web
%__rm -f %_var/www/html/sams
--
Best regards
Yuriy Kashirin
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] subst in configure script
2007-06-18 9:50 ` Yuriy Kashirin
@ 2007-06-18 11:19 ` Alexander Volkov
2007-06-18 12:33 ` Alexander Volkov
1 sibling, 0 replies; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 11:19 UTC (permalink / raw)
To: sisyphus
On 2007-06-18 12:50:45 +0300, Yuriy Kashirin wrote:
YK> On Понедельник 18 июня 2007, Alexander Volkov wrote:
YK> > On 2007-06-18 10:55:18 +0300, Yuriy Kashirin wrote:
YK> > YK> On Понедельник 18 июня 2007, Alexander Volkov wrote:
YK> > YK> $prefix в аргументе subst раскрвается, и этот subst ничего не
YK> > делает YK> (ищет не то, что вы хотите).
YK> > YK> Попробуйте так:
YK> > YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
YK> > YK> +%__subst 's|$prefix/share/sams|%webdir|g' configure
YK> Кстати, может быть, имелось в виду %webdir/sams ?
да, точно
YK> > Вышеуказанный вариант отработал, но ошибка та же.
YK> >
YK> > YK> или так:
YK> > YK> -%__subst "s|$prefix/share/sams|%webdir|g" configure
YK> > YK> +%__subst "s|\$prefix/share/sams|%webdir|g" configure
YK> > собака таки не тут порылась...
YK> > warning: File listed twice: /var/www/html/sams
YK> > error: Symlink points to BuildRoot: /var/www/html/sams ->
YK> > /usr/src/tmp/sams-buildroot/usr/share/sams
YK> >
YK> >
YK> > RPM build errors:
YK> > File listed twice: /var/www/html/sams
YK> > Symlink points to BuildRoot: /var/www/html/sams ->
YK> > /usr/src/tmp/sams-buildroot/usr/share/sams
YK> > Откуда симлинк берется, если в поминках его не нашел....
YK> Возможно, она не в спеке, а в make install. Надо поискать где-то в
YK> Makefile.in
YK> > Раньше в спеке была команда на линкование, но счас я её вычистил...
YK> > спек прикладываю, мож кто поглазастее :)
YK> Это тоже хвост от убранного линкования?
YK> %preun web
YK> %__rm -f %_var/www/html/sams
да, спасибо.
Пойду ещё покопаю :)
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] subst in configure script
2007-06-18 9:50 ` Yuriy Kashirin
2007-06-18 11:19 ` Alexander Volkov
@ 2007-06-18 12:33 ` Alexander Volkov
2007-06-18 12:54 ` [sisyphus] sams Alexander Volkov
1 sibling, 1 reply; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 12:33 UTC (permalink / raw)
To: sisyphus
On 2007-06-18 12:50:45 +0300, Yuriy Kashirin wrote:
YK> Возможно, она не в спеке, а в make install. Надо поискать где-то в
YK> Makefile.in
Нашел в Makefile
Но там же нашел $datadir, который по дефолту смотрит в $prefix/share,
задал в спек параметр для configure, а он его проигнорировал, точнее, вот
что получил в configure.log:
$ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr
/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir
=/usr/share/info --disable-dependency-tracking
--without-included-gettext --with-configfile=/etc/sams.conf
--with-rcd-locations=/etc/rc.d/init.d --datadir=/var/www/html
--with-httpd-locations=/var/www/html
т.е., datadir определился дважды и принял первое встреченно значение.
Как такое объезжается?
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 12:33 ` Alexander Volkov
@ 2007-06-18 12:54 ` Alexander Volkov
2007-06-18 13:04 ` Alexander Volkov
0 siblings, 1 reply; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 12:54 UTC (permalink / raw)
To: sisyphus
On 2007-06-18 16:33:05 +0400, Alexander Volkov wrote:
AV> On 2007-06-18 12:50:45 +0300, Yuriy Kashirin wrote:
AV> YK> Возможно, она не в спеке, а в make install. Надо поискать где-то в
AV> YK> Makefile.in
AV> Нашел в Makefile
AV> Но там же нашел $datadir, который по дефолту смотрит в $prefix/share,
AV> задал в спек параметр для configure, а он его проигнорировал, точнее, вот
AV> что получил в configure.log:
AV> $ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
AV> --exec-prefix=/usr --bindir=/usr
AV> /bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
AV> --includedir=/usr/include --libdir=/usr/lib
AV> --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
AV> --mandir=/usr/share/man --infodir
AV> =/usr/share/info --disable-dependency-tracking
AV> --without-included-gettext --with-configfile=/etc/sams.conf
AV> --with-rcd-locations=/etc/rc.d/init.d --datadir=/var/www/html
AV> --with-httpd-locations=/var/www/html
AV> т.е., datadir определился дважды и принял первое встреченно значение.
AV> Как такое объезжается?
попробовал в спеке объехать через
%makeinstall \
RCDPATH=%buildroot%_initdir \
HTTPDPATH=%buildroot%webdir \
datadir=%webdir
получил
creating /tmp/sams
cp ./etc/sams.conf /usr/src/tmp/sams-buildroot/etc;
cp ./sams /usr/src/tmp/sams-buildroot/usr/bin;
cp ./samsf /usr/src/tmp/sams-buildroot/usr/bin;
cp ./samsredir /usr/src/tmp/sams-buildroot/usr/bin;
cp ./samsdaemon /usr/src/tmp/sams-buildroot/usr/bin;
cp ./etc/samsd /usr/src/tmp/sams-buildroot/etc/rc.d/init.d;
cp ./mysql/recover_admin_passwd /usr/src/tmp/sams-buildroot/usr/bin;
creating /var/www/html
mkdir: cannot create directory `/var/www/html': No such file or directory
make[1]: [install-binPROGRAMS] Error 1 (ignored)
creating /var/www/html/sams
mkdir: cannot create directory `/var/www/html/sams': No such file or
directory
make[1]: [install-binPROGRAMS] Error 1 (ignored)
cp -R php/* /var/www/html/sams/;
cp: target `/var/www/html/sams/' is not a directory: No such file or
directory
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/sams'
make: *** [install-am] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/sams'
error: Bad exit status from /usr/src/tmp/rpm-tmp.88508 (%install)
хотя добавлял перед %makeinstall
%__mkdir_p %buildroot%webdir
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 12:54 ` [sisyphus] sams Alexander Volkov
@ 2007-06-18 13:04 ` Alexander Volkov
2007-06-18 13:11 ` Slava Semushin
2007-06-18 13:13 ` Alexander Volkov
0 siblings, 2 replies; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 13:04 UTC (permalink / raw)
To: sisyphus
On 2007-06-18 16:54:10 +0400, Alexander Volkov wrote:
вот так собралось:
%install
%__mkdir_p %buildroot%_bindir
%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%webdir/%name
##%__mkdir_p %buildroot%_datadir/%name
%makeinstall \
RCDPATH=%buildroot%_initdir \
HTTPDPATH=%buildroot%webdir \
datadir=%buildroot%webdir
ну и к...
Осталось потестить.
Пойду создам контейнер.
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 13:04 ` Alexander Volkov
@ 2007-06-18 13:11 ` Slava Semushin
2007-06-18 13:13 ` Alexander Volkov
1 sibling, 0 replies; 12+ messages in thread
From: Slava Semushin @ 2007-06-18 13:11 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
2007/6/18, Alexander Volkov <alt / vladregion.ru>:
> On 2007-06-18 16:54:10 +0400, Alexander Volkov wrote:
> вот так собралось:
> %install
> %__mkdir_p %buildroot%_bindir
> %__mkdir_p %buildroot%_initdir
> %__mkdir_p %buildroot%webdir/%name
[...]
s/%__mkdir_p/mkdir -p/
Для таких стандартных команд не обязательно использовать макросы...
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 13:04 ` Alexander Volkov
2007-06-18 13:11 ` Slava Semushin
@ 2007-06-18 13:13 ` Alexander Volkov
2007-06-18 13:16 ` Slava Semushin
1 sibling, 1 reply; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 13:13 UTC (permalink / raw)
To: sisyphus
On 2007-06-18 17:04:31 +0400, Alexander Volkov wrote:
AV> On 2007-06-18 16:54:10 +0400, Alexander Volkov wrote:
AV> вот так собралось:
AV> %install
AV> %__mkdir_p %buildroot%_bindir
AV> %__mkdir_p %buildroot%_initdir
AV> %__mkdir_p %buildroot%webdir/%name
AV> ##%__mkdir_p %buildroot%_datadir/%name
AV> %makeinstall \
AV> RCDPATH=%buildroot%_initdir \
AV> HTTPDPATH=%buildroot%webdir \
AV> datadir=%buildroot%webdir
AV> ну и к...
Однако ж пакет sams-web должен быть noarch
Какой директивой это указывается?
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 13:13 ` Alexander Volkov
@ 2007-06-18 13:16 ` Slava Semushin
2007-06-18 13:25 ` Alexander Volkov
0 siblings, 1 reply; 12+ messages in thread
From: Slava Semushin @ 2007-06-18 13:16 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
2007/6/18, Alexander Volkov <alt / vladregion.ru>:
[...]
> Однако ж пакет sams-web должен быть noarch
> Какой директивой это указывается?
BuildArch: noarch
Только имейте ввиду, что невозможно собрать два RPM-пакета с разными
архитектурами из одного SRPM-пакета. (Читай: все пакеты собираемые из
одного SRPM-пакета должны быть одной архитектуры)
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] sams
2007-06-18 13:16 ` Slava Semushin
@ 2007-06-18 13:25 ` Alexander Volkov
0 siblings, 0 replies; 12+ messages in thread
From: Alexander Volkov @ 2007-06-18 13:25 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On 2007-06-18 20:16:54 +0700, Slava Semushin wrote:
SS> 2007/6/18, Alexander Volkov <alt / vladregion.ru>:
SS> [...]
SS> > Однако ж пакет sams-web должен быть noarch
SS> > Какой директивой это указывается?
SS> BuildArch: noarch
SS> Только имейте ввиду, что невозможно собрать два RPM-пакета с разными
SS> архитектурами из одного SRPM-пакета. (Читай: все пакеты собираемые из
SS> одного SRPM-пакета должны быть одной архитектуры)
ОК. Ну и ладно.
Кто хочет затестить до меня (я- завтра), пакет можно взять тут:
ftp://vladregion.ru/pub/some
--
Regards, Alexander
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-06-18 13:25 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-18 7:30 [sisyphus] subst in configure script Alexander Volkov
2007-06-18 7:55 ` Yuriy Kashirin
2007-06-18 8:27 ` Alexander Volkov
2007-06-18 9:50 ` Yuriy Kashirin
2007-06-18 11:19 ` Alexander Volkov
2007-06-18 12:33 ` Alexander Volkov
2007-06-18 12:54 ` [sisyphus] sams Alexander Volkov
2007-06-18 13:04 ` Alexander Volkov
2007-06-18 13:11 ` Slava Semushin
2007-06-18 13:13 ` Alexander Volkov
2007-06-18 13:16 ` Slava Semushin
2007-06-18 13:25 ` Alexander Volkov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git