Mailinglist Archive: yast-devel (73 mails)

< Previous Next >
[yast-devel] Better "lib/" and "control/" Yast subpath support in devtools


I have added new macros for handling "lib/" and "control/" Yast subpaths in

For "lib/" subpath you can now write this in

ylibdir = @ylibdir@/foo
ylib_DATA = lib/foo/bar.rb

and in *.spec:

%dir %{yast_libdir}/foo

For "control/" subpath:

control_DATA = foo.xml

(remove the "controldir" specification if present, it's now defined globally
in devtools)


%dir %{yast_controldir}

Note: this requires yast2-devtools >= 3.1.15, update the dependencies

You can check these pull requests, if you want to see some examples:


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages