rpm
how to update a pre-existing config file using rpmbuild?
I\'ve been looking into how to use an rpmbuild spec file to update an already existing config file. As an example, in my rpm I\'d like to add lines to a config file e.g. /etc/stunnel/stunnel[详细]
2023-04-05 00:09 分类:问答RPM upgrade uninstalls the RPM
I am upgrading our project RPM.The problem is when I upgrade from projectname-1.0-0 to projectname-1.0-1, it first installs the new project and uninstalls the old project, which, in overall view, remo[详细]
2023-04-05 00:02 分类:问答RPM build process without installing
I\'m trying to build my own rpm package and have a couple of doubts. First of all, in several places I\'ve red that one shouldn\'t build rpms as root. Why is that? During the building process, rpmbui[详细]
2023-04-04 09:02 分类:问答Python command to create no-arch rpm's
I am creating rpm\'s for my project which is in pure python. I am running the command python setup.py bdist_rpm[详细]
2023-04-04 06:53 分类:问答RPM build fails on install section
I am trying to build my first rpm package, which is one simple executable (mysh). My spec file: Summary: bla <br>[详细]
2023-04-04 04:38 分类:问答rpm complaining about /bin/su
I need to install a vendor package onto a non-default directory (say /opt). By default, package gets installed in /usr/local/bin directory.[详细]
2023-04-03 05:43 分类:问答Can I add dependencies into .rpm which is already built?
I have .rpm package which is converted from .deb in Ubuntu with alien. In fedora it needs another dependencies, but I can\'t find the way 开发者_如何学Pythonto add dependencies.[详细]
2023-04-01 06:08 分类:问答Setting the RPM Package name in bdist_rpm
I am using Python setuptools for building a package. I would like to name the rpm built from bdist_rpm option to be different than the Python package name due to some naming rest开发者_如何学Crictions[详细]
2023-03-29 13:49 分类:问答How to dynamically define sub packages
My goal is to come up with a spec file that defines subpackages dynamically. Currently, I have a macro defined in the spec file so that I can call it with different parameters to generate different %[详细]
2023-03-28 01:34 分类:问答SPEC file builds two RPMs, but dependency makes -Uvh upgrade impossible
I\'m working on a spec file (foo.spec) that, when built, results in two RPMs: foo-1-1.i386.rpm (the main program) and libfoo-1-1.i386.rpm (the required library files). The foo.spec file states that fo[详细]
2023-03-28 00:05 分类:问答