Install Rpm Build On Cygwin Uninstall

пятница 04 январяadmin

Twilight part 2. I am trying to figure out an issue that I have with installing an RPM file on openSUSE which I build on Windows (using Cygwin/rpmbuild). When I try to install the RPM on Linux I get an error saying package.rpm is intended for a different operating system The RPM is build by calling rpmbuild --nodeps --target=i386 --buildroot='$BUILDDIR' -bb $ROOTPATH/tmp.spec I can force the installation by installing it with --ignoreos, but if there is a way to avoid it. I've been rummaging through the rpm macros file in Cygwin, but I've not been able to find the correct setting.

Build

I just installed cygwin for the first time today, so I m very new. During the installation, I included rpm and rpmbuild, as I need these to. When I try to run ant with a build.xml file calling rpm, I get something like this.