[opensuse-packaging] copying folder structures with install in spec file
Dear all, in the spec file I had several times the situation, where a stucture of folders and subfolders containing files needed to be copied from the the original extracted package into the structure of the programs folder to be packaged, e.g. if you have additional support files other than code/binaries. at the moment, I have to create each folder idividually in the spec file because install does not seem to support folders. A simple copy would also do, but then rights might not set correctly. I have this: dir1 |- dir1.1 : file1, file2 |-dir1.2: file10,file20 This doesn't work: %__install -m 755 dir1 %{buildroot}%{_datadir}/%{name}/ I'm sure this is an easy one for you guy's, but it keeps bugging me :-) cheers, Denny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Dave Plater
-
Denny Beyer
-
Jean Delvare