22.07.2019 20:31, Carlos E. R. пишет:
On 22/07/2019 19.10, Andrei Borzenkov wrote:
22.07.2019 12:46, Carlos E. R. пишет:
On 22/07/2019 08.59, David C. Rankin wrote:
On 07/21/2019 07:03 AM, Andrei Borzenkov wrote:
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed, Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
When you install rpmbuild and the suse build tools, then will create the rpmbuild directory in your $HOME directory:
$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── BUILDROOT ├── OTHER ├── RPMS ├── SOURCES ├── SPECS └── SRPMS
On home? I have them on the root. /usr/src/packages/.
What was not clear in "for root user this is /usr/src/packages"?
Then what creates the build structure for user, and how on earth do I install a source rpm into my home that structure? YaST will not do it.
Because he said:
]> When you install rpmbuild and the suse build tools, then will create ]> the rpmbuild directory in your $HOME directory:
HOW?
rpm -i foo.src.rpm as normal user. Or you can simply copy necessary files there. The only directories you need are SOURCES and SPECS; everything else will be created by rpmbuild as needed. And actually I am not even sure that you need SPECS unless you want to recreate SRPM.