search for: _def1

Displaying 4 results from an estimated 4 matches for "_def1".

Did you mean: def1
2018 Jun 08
3
rpmbuild --define | some rpm sorcerer around?
...al convention where one wishes to define _foobar as > "foo" for example would be: > > rpmbuild --define '_foobar foo' > > or generically > > rpmbuild --define 'SomeVariable SomeValue' > > Hope that helps Try to pass bash var to rpmbuild, eg: $ _def1="_me no" $ rpmbuild --define ${_def1} > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
2018 Jun 09
0
rpmbuild --define | some rpm sorcerer around?
...t;foo" for >> example would be: >> >> rpmbuild --define '_foobar foo' >> >> or generically >> >> rpmbuild --define 'SomeVariable SomeValue' >> >> Hope that helps > > Try to pass bash var to rpmbuild, eg: > > $ _def1="_me no" > $ rpmbuild --define ${_def1} > > I assume you are doing this in a bash script? ${_def1} may need to be quoted as it contains a space. But for that I would do the following to make it more readable: ME="no" rpmbuild --define '_me ${ME}' or if $...
2018 Jun 11
2
rpmbuild --define | some rpm sorcerer around?
...t;>> >>> rpmbuild --define '_foobar foo' >>> >>> or generically >>> >>> rpmbuild --define 'SomeVariable SomeValue' >>> >>> Hope that helps >> >> Try to pass bash var to rpmbuild, eg: >> >> $ _def1="_me no" >> $ rpmbuild --define ${_def1} >> >> > > I assume you are doing this in a bash script? > > ${_def1} may need to be quoted as it contains a space. > > But for that I would do the following to make it more readable: > > ME="no&quo...
2018 Jun 08
2
rpmbuild --define | some rpm sorcerer around?
hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors nor failure) so if you try just the command line do not believe it, because later as it executes %if you will see process does not see these definitions. many