SPECS: ed.spec - kill needless defs - defined _bindir
Tomasz Wittner
twittner w o2.pl
Nie, 4 Wrz 2005, 19:52:49 CEST
On Sun 4. of September 2005 19:42, darekr wrote:
> Author: darekr Date: Sun Sep 4 17:42:34 2005 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - kill needless defs
> - defined _bindir
>
> ---- Files affected:
> SPECS:
> ed.spec (1.56 -> 1.57)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/ed.spec
> diff -u SPECS/ed.spec:1.56 SPECS/ed.spec:1.57
> --- SPECS/ed.spec:1.56 Mon Mar 21 23:02:36 2005
> +++ SPECS/ed.spec Sun Sep 4 19:42:28 2005
> @@ -29,8 +29,7 @@
> BuildRequires: texinfo
> BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>
> -%define _prefix /usr
> -%define _exec_prefix /
> +%define _bindir /bin
>
> %description
> This is the GNU line editor. It is an implementation of one of the
> @@ -127,8 +126,7 @@
> %files
> %defattr(644,root,root,755)
> %doc NEWS POSIX README
> -%attr(755,root,root) /bin/*
> -
> +%attr(755,root,root) %{_bindir}/*
Processing files: ed-0.2-36
error: File not found by glob: /tmp/ed-0.2-root-inter/bin/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.15865
+ umask 022
+ cd /home/users/inter/my/devel/pld/cvs/BUILD
+ cd ed-0.2
+ DOCDIR=/tmp/ed-0.2-root-inter/usr/share/doc/ed-0.2
+ export DOCDIR
+ rm -rf /tmp/ed-0.2-root-inter/usr/share/doc/ed-0.2
+ /bin/mkdir -p /tmp/ed-0.2-root-inter/usr/share/doc/ed-0.2
+ cp -pr NEWS POSIX README /tmp/ed-0.2-root-inter/usr/share/doc/ed-0.2
+ /usr/lib/rpm/compress-doc
Compressing documentation in /tmp/ed-0.2-root-inter/usr/share/doc/ed-0.2...
./NEWS ./POSIX ./README
Documentation compressed.
+ exit 0
RPM build errors:
File not found by glob: /tmp/ed-0.2-root-inter/bin/*
23.94s real 10.51s user 3.15s system
Sugerowałbym zaprzestanie manipulowania przy %define _prefix itp.
--
Tomasz Wittner
Więcej informacji o liście dyskusyjnej pld-devel-pl