Project

General

Profile

Actions

User story #4671

closed

User story #4595: Support for AIX (agent only)

Avoid listing files twice in .spec %files section

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Currently, building rudder-agent RPM with older version of rpm results in this error:

13:40:22 Processing files: rudder-agent-2.10.0.alpha1.git201403181302-1.AIX.5.3
13:40:23 File listed twice: /opt/rudder/etc/uuid.hive
13:40:26 File listed twice: /var/rudder/cfengine-community/ppkeys

This happens because our "%files" section contains these lines:

 %{rudderdir}
 %config(noreplace) %{rudderdir}/etc/uuid.hive
 %{ruddervardir}
 %attr(0600, -, -) %dir %{ruddervardir}/cfengine-community/ppkeys

This can be avoided by listing the exact files to include, and specifying separately the two we want special attributes on.


Subtasks 2 (0 open2 closed)

Bug #4685: Error on rpm build, unpackaged filesReleasedJonathan CLARKE2014-03-27Actions
Bug #4687: missing files in rudder-agent packages, missing symlinksReleasedJonathan CLARKE2014-03-28Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4694: RPM postinst fails on all systems due to missing directoriesReleasedVincent MEMBRÉ2014-03-28Actions
Actions

Also available in: Atom PDF