rpm-spec

How to make an rpm spec that installs libraries to /usr/lib xor /usr/lib64 based on arch?

I'm working on an RPM spec for centos and it needs to install the shared libraries to /usr/lib64 if the arch is 64 bit and /usr/lib otherwise? ...

Makefile: install target usable from the CLI or a packaging system ?

Hi, given this simple install target for my Makefile: install: zrm $(CONF) install -D -m 0755 -o mysql -g mysql conf/lvm0.conf $(DESTDIR)/$(CONFDIR)/lvm0/mysql-zrm.conf install -D -m 0755 -o mysql -g mysql conf/inc1.conf $(DESTDIR)/$(CONFDIR)/inc1/mysql-zrm.conf install -D -m 0755 -o mysql -g mysql conf/dump0.co...

Can I use rpm to expand the macros in a specfile?

The concrete example being I have lots of specfiles with Source0: or other Source lines containing macros. How can I have these macros expanded without actually starting a build on the specfile or writing my own parser? ...

RPM Requires i386 version of a package

Not really certain if this belongs here... but... I am successfully building an RPM for Centos, the problem is that it is a 32bit binary (don't ask..) - the requires part of the rpm spec only installs the 64bit/x86_64 version of a required library. I am linking against libicu, and I want the rpm to automatically install the 32bit versi...

Maven RPM Plugin does not generate the scriptlets specified

Hi all, I am trying to create an rpm package with the help of the rpm-maven-plugin. All goes well until I try to have it generate the %pre scriptlet (or any scriptlet for that matter) The pom.xml excerpt is: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rpm-maven-plugin</artifactId> <version>2.0-beta-2</versio...