![]() |
2016-06-03
, 19:18
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#12
|
![]() |
2016-06-03
, 19:49
|
Posts: 1,298 |
Thanked: 4,322 times |
Joined on Oct 2014
|
#13
|
Thank you!
About number #3 and #4...
Requires - If I build my package from zero, I know what I need put here, but if I just downloaded tar.gz file of someone. Can I check it somehow from the tar.gz file itself ?
Same about BuildRequires... You say "You need to read what your program depends on", but where to read it ? Some readme file from tar.gz file ?
Thanks
![]() |
2016-06-04
, 09:40
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#14
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
2 you can just write the name of your source file. Using these tags are not required , but does make it easier when building new releases, as it automatic adds the version numbers in the filename.
3 well, for example, nmap would need openssl-devel. You need to read what your program depends on.
4 like 3) your program might need for example openssl. This line will let rpm know to ask for this addotional package to be installed.
My tor-switch as example, would need tor.
5 you can just - in most cases - just write 'make'. But, some sources needs additional compiler flags set to build.
You can still support my work by donation - click here