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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




rpm-list-bounces@xxxxxxxxxxxxx wrote on 03/03/2011 11:53:24 AM:

> here is my the script:
>
> mark@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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux