Mailinglist Archive: opensuse-packaging (106 mails)

< Previous Next >
Re: [opensuse-packaging] I'm having a problem building packages for openSUSE...
  • From: Andrei Borzenkov <arvidjaar@xxxxxxxxx>
  • Date: Fri, 4 Dec 2015 06:38:42 +0300
  • Message-id: <56610AC2.80907@gmail.com>
03.12.2015 23:34, Alan Robertson пишет:
Hi Andrei,

Good point ;-). Thanks for reminding me.Not sure where my brain was... I
guess I was into wishful thinking - this was a known problem with a
simple workaround...

Here are a few links:
http://AssimilationSystems.com - project overview page
https://github.com/assimilation/assimilation-official

https://github.com/assimilation/assimilation-official/tree/master/docker/openSUSE

https://github.com/assimilation/assimilation-official/blob/master/docker/CentOS6/assimilation-cma.spec

So, if you pull the latest source, and cd to the docker/openSUSE
directory, mkdir 42.1 and then run ./dockit 42.1, then you should get
exactly these results.


%cmake macro does "cd build" for you.

%cmake \
find . -name CMakeLists.txt \\\
-exec sed -i -re
'/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE
/}' {} + \
mkdir -p build \
cd build \
%__cmake .. \\\
...

I see that the openSUSE 42.1 docker image has been updated since I last
tried it (a day or two ago). The updated onebehaves the same way.

I didn't write this spec file, and hadn't looked at it in a while... The
specfile has a single mkdir/pushd in it, but doesn't have the second
mkdir+cd.

I have no idea where that's coming from - but it's not in the spec file.

Thanks for your help!



On 12/03/2015 09:25 AM, Andrei Borzenkov wrote:
03.12.2015 18:08, Alan Robertson пишет:
Hi,

I had a potential user ask me to provide the Assimilation project
software for openSUSE. So, I started down that path to see if I could
help him out. We have a good method of building packages for different
distros using Docker - so that's what I did.

I miss spec file or link you your project ...




--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups