rpmbuild fails on a different machine with - wrong owner/group mark:users

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Thu Mar 3 18:24:11 UTC 2011



rpm-list-bounces at lists.rpm.org wrote on 03/03/2011 11:53:24 AM:

> here is my the script:
>
> mark at gecko2 rpm> cat ./SPECS/maximus-2.0.0.spec
> Summary: Maximus utility for handling everything
> Name: maximus
> Version: 2.0.0
> Release: 1
> License: GPL
> Group: Development/Tools
>
>
> %description
> Maximus utility for handling everything - just leave it to Max.
>
> %build
>
> %prep
>
> %install
>
> %clean
>
> %post
>
> %postrun
> echo -e "i am in postrun \n"
> mkdir /home/mark/foobar
>
>
> %files
> /home/mark/PWMP-EJB.jar


put the .JAR in your SOURCES directory and try this instead:


Summary: Maximus utility for handling everything
Name: maximus
Version: 2.0.0
Release: 1
License: GPL
Source0: PWMP-EJB.jar
Group: Development/Tools


%description
Maximus utility for handling everything - just leave it to Max.

%build

%prep

%install
mkdir -p %{BUILDROOT}/home/mark/
cp %{SOURCE0} %{BUILDROOT}/home/mark/

%clean
rm -rf %{BUILDROOT}

%post

%postrun
echo -e "i am in postrun \n"


%files
/home/mark/PWMP-EJB.jar



More information about the Rpm-list mailing list