Displaying 20 results from an estimated 900 matches similar to: "How to write RPM spec"
2017 Dec 27
4
An rpmbuild spec question
Stephen John Smoogen wrote:
> On Wed, Dec 27, 2017 at 3:41 PM <m.roth at 5-cent.us> wrote:
>
>> I'm trying to build a package to create a directory and install some
>> files. My rpmbuild keeps failing, unable to cd into the directory, "no
>> such". Now, in the tmpfile, I *see* it cd'ing into BUILD/opt, and the
>> source was unzipped and untared
2020 May 03
2
perl Net::Interface module on CentOS 8
We have received a perl program that makes use of "Net::Interface" module
which I am trying to run on CentOS 8. However, running into issues as this
module is not found.
use Net::Interface;
I could use cpan to install the same, but currently using the rpm packages
for all the needs. Any idea which rpm package provides this perl module?
Thanks.
2013 Jul 02
1
rpmbuild environment CentOS5 vs CentOS6
On CentOS5 I was used to create a simple spec file where at the end I'll
declare files and directories I wan't to package:
--< Snip >--
%files
%dir /opt/myapp
%dir /opt/myapp/bin
%dir /opt/myapp/etc
/opt/myapp/bin/exec01
/opt/myapp/etc/myapp.conf
----
I'll copy the file in /usr/src/redhat/SPECS and run "rpmbuild -bb
myapp.spec".
On CentOS6 rpm-build package no longer
2017 Dec 28
0
An rpmbuild spec question
On Wed, Dec 27, 2017 at 06:09:21PM -0500, m.roth at 5-cent.us wrote:
> Sure. I think I'm closer, but I'm also at the point where I'm just trying
> things. My current issue, that I keep falling back to, is the install
> *INSISTS* that it has to add a - after version.
>
> %prep
>
> %install
> mkdir $RPM_BUILD_DIR/opt/smipmicfg-%{version}
> install -m 744 -d
2007 Sep 19
2
best source for rpmdevtools RPM in C5
hello,
I'm going to try this question again. The first time I botched it and the answers I got were useless.
I want to use rpmdevtools to help with some packaging chores. There is no C5 version that I can find. I've located an SRC RPM in a location that is known to be C5 compatible. There are 2 versions of rpmdevtools:
2017 Oct 29
5
How to encourage maintainers to update their software
Frank please could you explain how to create rpms for el7 from fedora
src.rpms?
On Sun, Oct 29, 2017 at 12:42 AM, Frank Cox <theatre at sasktel.net> wrote:
> On Sat, 28 Oct 2017 17:15:01 -0400
> H wrote:
>
> > The graphical configuration utility for fcitx (fcitx-configtool) is
> missing
>
> I don't know anything about Chinese text rendering.
>
> > - The
2017 Dec 27
0
An rpmbuild spec question
On 12/27/2017 3:09 PM, m.roth at 5-cent.us wrote:
> My current issue, that I keep falling back to, is the install
> *INSISTS* that it has to add a - after version.
You're missing the spec file header that includes lots of meta
information. The dash is to separate the version from the package
release string. You should have a Release: header to fill that in.
> install -m 744 -d
2017 Dec 28
1
An rpmbuild spec question
On 12/27/17 18:36, Kenneth Porter wrote:
> On 12/27/2017 3:09 PM, m.roth at 5-cent.us wrote:
>> My current issue, that I keep falling back to, is the install
>> *INSISTS*? that it has to add a - after version.
>
> You're missing the spec file header that includes lots of meta information.
> The dash is to separate the version from the package release string. You
>
2012 Sep 23
2
tutorial or guide to write RPM Spec file
Hi,
Are there tutorials available in official CentOS documentation for
writing RPM Spec file
Regards
Kaushal
2009 Aug 15
3
building CentOS rpms?
Hello,
I'd like to get in to rpm building and am looking for a CentOS
specific document if any to get me going? I want to repackage an existing
rpm and give it different runtime options so it'll work on a server, and
make an rpm at least one probably more, and then submit them to the rpmforge
repo.
Googling showed me some old Suse docs on this subject. Any help
appreciated.
Thanks.
2012 Feb 27
0
Q. re rpmdevtools
CentOS-5.7
rpmdevtools-6.8-1
Following installation of rpmdevtools when I run
rpmdev-setuptree as root, then root has a directory
rpmbuild created in its home directory. If I do this as a
non-privileged user instead then nothing happens.
What am I missing?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne
2014 Dec 04
3
Guidance: compile education
This question may not belong in the Centos.org list, but I do want to
compile against this distro. Please advise.
The question:
Can I be pointed at methods to learn to compile source against a distro.
I have software development background (but too long ago to be
specifically useful; however I have the concepts). Typically I can find
some fairly decent step-by-steps for some apps, but it
2011 Sep 12
4
trouble building an rpm
i'm a newbie at building rpms. I made a few rpms years ago, but can't now make one on Centos 5.
In /usr/local/rpmbuild, there are 5 subdirs: BUILD RPMS SOURCES SPECS SRPMS tmp
When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp:
error: File not found:
2016 Oct 26
3
rpmbuild question
Hi, folks,
Trying to build a package from a gzipped tarball of a python package.
I'm trying to build it in /root/rpmbuild. Python has a way to build it,
but it creates its own tree, with a clone of the rpmbuild tree under
*that*.
So, from the specfile, I'm trying to understand, after much googling,
what I need to change the Source and BuildRoot to. My latest try for
the latter is
2017 Oct 29
0
How to encourage maintainers to update their software
On Sun, 29 Oct 2017 14:40:56 +0100
vychytraly . wrote:
> Frank please could you explain how to create rpms for el7 from fedora
> src.rpms?
The complexity of doing this will vary a lot with what you're trying to compile, but for userland programs like email clients, text editors, games and the like it can be very easy to do in a lot of cases.
As Johnny says, you don't really want
2007 May 19
3
Error building kernel for CentOS 5.0
I thought I had all the tools I needed for this, but it seems
something is missing. When I build the 2.6.18-8.1.3 kernel from
source, I get this error:
extracting debug info from
/var/tmp/kernel-2.6.18-8.el5.trace-root/usr/src/kernels/2.6.18-8.el5.trace-x86_64/scripts/conmakehash
extracting debug info from
2009 Apr 13
4
Building a kernel without kabichk
I?m trying to build a 2.6.18-128.1.6.el5 kernel without kabichk. I have
downloaded the sources, installed the compiler, etc and ran the following
command
rpmbuild -bb --target=`uname -m` --without kabichk --with baseonly
--without debug \
--without debuginfo kernel-2.6.spec.
I had modified the .SPEC file according to the WIKI page
http://wiki.centos.org/HowTos/Custom_Kernel
I have NOT
2012 Mar 12
2
Trying to use current R2spec on RHEL.
Is there somewhere a succinct guide to just how much extra crud we need
to install on RHEL to make use of EPEL packages?
[root at troll-1 noarch]# rpm -ivh R2spec-4.1.0-1.el6.noarch.rpm
error: Failed dependencies:
fedora-packager is needed by R2spec-4.1.0-1.el6.noarch
[root at troll-1 noarch]# wget
http://dl.fedoraproject.org/pub/epel/6/x86_64/fedora-packager-0.5.9.4-1.el6.noarch.rpm
2020 Mar 16
2
CentOS rpm versioning
Hello
Clair vulnerability scanner considers the latest version of CentOS mariadb
vulnerable, because of RHSA-2019:3708
It states, that mariadb must be updated at least to the version
"10.3.17-1.module+el8.1.0+3974+90eded84". CentOS' last version is
"10.3.17-1.module_el8.1.0+257+48736ea6". Rpm/yum considers CentOS' version
older, than RHEL's.
% rpmdev-vercmp
2007 Sep 19
2
rebuilding rpmdevtools from epel5 SRC has fc7 dependent
hello,
I'm suprised that an SRC.RPM from the rhel5 repo needs a file from FC7.
I grabbed rpmdevtools from
http://download.fedora.redhat.com/pub/epel/5/
it rebuilds fine as EL5, but when I go to install it, it requires a version of rpm-build higher than the C5 base version (4.4.2-37)
--------------------- grab dependencies -------------
$ rpm -qpR rpmdevtools-6.1-0.1.noarch.rpm
...