Skip to main content

Questions tagged [rpm-spec]

This tag is for RPM spec files, the source file for building RPM packages using rpmbuild.

3 votes
1 answer
308 views

Let's say your spec file is synced to upstream v1.0.0 and that changes to v2.0.0, what should the changelog entry say that rebuilds the package from the latest upstream source? From the docs The last ...
Evan Carroll's user avatar
  • 35.2k
0 votes
1 answer
893 views

I am fairly new to rpm building and i have been trying to understand the syntax of "Provides" inside a spec file without success. I have the following spec file snippet for building clamav ...
giomanda's user avatar
  • 155
1 vote
1 answer
394 views

I am new to rpm building and for the past week I am trying to code a spec file to install a file on the system only if a specific files is missing. Here is a snippet %global homedir %{_var}/...
giomanda's user avatar
  • 155
2 votes
1 answer
132 views

Let's say I have two packages and a library, all at version 1. PackageFoo version 1. PackageBar version 1. LibBaz version 1. Now, PackageFoo requires LibBaz PackageBar requires LibBaz However, let'...
Evan Carroll's user avatar
  • 35.2k
1 vote
1 answer
119 views

On a Fedora System, I'm often recompiling the kernel in order to add the necessary T2 patches for the kernel to benefit from the full capabilities of my MacBook Pro (and also so that the keyboard ...
Marcelo's user avatar
  • 3,971
4 votes
2 answers
631 views

I have a spec (myspecfile.spec) file that looks similar to Name: package-%{myname} Version: %{myversion} Release: %{myrelease} License: gpl2 Summary: this is my package BuildArch: noarch %...
basil's user avatar
  • 163
1 vote
1 answer
463 views

I'm trying to understand how the creation of packages (rpm, deb, dpkg) work and what the architecture supports and doesn't. Right now I struggle figuring out what happens when the installation or ...
jrs's user avatar
  • 113
2 votes
1 answer
172 views

I'm writing a RPM spec file for building my software. The software depends on Crypto++. Crypto++ is named differently on different distributions, for example, on OpenSUSE, I should write BuildRequires:...
Siyuan Ren's user avatar
  • 1,461
1 vote
1 answer
212 views

I'm using aws's ec2 instance and I need to install a newer version of GDB (I can't use yum install since there is no newer version available for amazon RHEL). My workflow requires to do this process ...
danwgh's user avatar
  • 23
3 votes
0 answers
344 views

How is best to handle files in an rpm spec file that may or may not exist with these specifics: Part of the files delivered are example files under a /conf.d/ directory. The files are installed as ...
EddieSub's user avatar
0 votes
1 answer
403 views

I'd would like to transition an existing *.spec file from the fedora style %cmake* commands to the alternate %cmake3 based one (eg. Amazon Linux 2). What should I replace an existing %cmake_build with ...
malat's user avatar
  • 3,479
1 vote
1 answer
247 views

When writing a .spec file for Fedora, I ran into a problem. I can't seem to be able to do fedpkg mockbuild at all. No matter what source I use, HTTPS or local, I keep running into this error: Failed ...
Ignis Incendio's user avatar
0 votes
1 answer
480 views

I am trying to compile & package the latest version of Zeek (5.0.7) for rhel 7 servers. I get an error saying the "cxx17" is required. Searching the web, I found that it is contained ...
Garnet's user avatar
  • 468
2 votes
1 answer
307 views

What's the right way to create an RPM that modifies the %config(noreplace) files installed by another RPM? Specific instance of the general question: We want to modify the repository definitions ...
David M's user avatar
  • 123
0 votes
1 answer
603 views

After reading https://unix.stackexchange.com/a/222376/246754 How rpm ensure that no uid/gid clash with each other ? What I am looking is similar to https://github.com/NixOS/nixpkgs/blob/...
Et7f3XIV's user avatar
  • 103

15 30 50 per page
1
2 3 4 5 6