< Previous Date Next > | < Previous Thread Next > | Index by date | Index by thread |
小松です。 From: KOMATSU Shinichiro <koma2@xxxxxxxxxxxxxxxxxxxx> Subject: [Momonga-devel.ja:01864] Re: Momonga Linux のリリースへ向けた spec ファイルの見直し Date: Mon, Jul 07, 2003 at 02:59:26AM JST > > > あと、この先いろんな macro を定義しようと思っているのですが、 > > > そのたびに rpm を rebuild するのもアホらしいので、 > > > momonga 特有な macro は rpm からは切離そうと思うのですが、 > > > いかがでしょう? > > そうですね.名前は何が良いでしょうかね?それとも,何か既存の > > spec ファイルで新たなパッケージ定義しますかね? > とりあえず momonga-release でもいいかな。。 > もし問題ありそうならまた考えましょう。 こんな感じでいいですか? 問題なければこれで commit します。 -- --------------------------------------- 東京大学大学院総合文化研究科 広域科学専攻相関基礎科学系 佐々研究室 博士4年 小松 晋一朗 koma2@xxxxxxxxxxxxxxxxxxxx koma2@xxxxxxxxxxxxxxxxx http://kamuy.c.u-tokyo.ac.jp/~koma2/ ---------------------------------------
Attachment:
momonga-release-20030713-1m.src.rpm
Description: Binary data
Index: rpm.spec =================================================================== RCS file: /home/cvs/pkgs/rpm/rpm.spec,v retrieving revision 1.42 diff -u -u -r1.42 rpm.spec --- rpm.spec 6 Jul 2003 11:56:36 -0000 1.42 +++ rpm.spec 13 Jul 2003 15:12:46 -0000 @@ -1,5 +1,5 @@ %define __libtoolize : -%define momorel 52 +%define momorel 53 %define _ipv6 1 %define buildpython2 1 %define popt_version 1.6.4 @@ -58,7 +58,7 @@ #--------------------------------------------------------------------------- Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{version}.tar.gz #NoSource: 0 -Source1: rpmmacros.momonga +#Source1: rpmmacros.momonga Source2: rpm-4.0.4-apidocs.tar.bz2 Patch0: rpm-4.0.2-kernel-whiteout.patch Patch1: rpm-4.0.4-momonga.patch @@ -113,6 +113,7 @@ #--------------------------------------------------------------------------- Prereq: gawk, fileutils, textutils, mktemp, shadow-utils, gettext Requires: popt = 1.6.4 +Requires: momonga-release >= 20030713 %description The RPM Package Manager (RPM) is a powerful command line driven @@ -311,7 +312,7 @@ make DESTDIR="%{buildroot}" install ### install momonga specific macros -%__cp -p %{SOURCE1} %{buildroot}%{_libdir}/rpm/macros.momonga +#%__cp -p %{SOURCE1} %{buildroot}%{_libdir}/rpm/macros.momonga # Save list of packages through cron %__mkdir_p %{buildroot}%{_sysconfdir}/cron.daily @@ -478,7 +479,7 @@ %rpmattr %{_libdir}/rpm/config.sub %rpmattr %{_libdir}/rpm/convertrpmrc.sh %attr(0644, rpm, rpm) %{_libdir}/rpm/macros -%attr(0644, rpm, rpm) %{_libdir}/rpm/macros.momonga +#%attr(0644, rpm, rpm) %{_libdir}/rpm/macros.momonga %rpmattr %{_libdir}/rpm/mkinstalldirs %rpmattr %{_libdir}/rpm/rpm.* %rpmattr %{_libdir}/rpm/rpm[deiukqv]