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 #1

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/276/files
Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:25e23178d226879d3899acc7c3bc2876ace56bf3.

Actions #3

Updated by Matthieu CERDA over 10 years ago

Applied in changeset commit:808c37d829f9a77968b4e5683197929f441b630a.

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Tracker changed from 6 to Bug
  • Parent task deleted (#4595)
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Tracker changed from Bug to Enhancement
  • Parent task set to #4595
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.0, which was released today.
Check out:

Actions #7

Updated by Benoît PECCATTE over 9 years ago

  • Category set to Packaging
Actions #8

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF