Bug 1648650 - Make javascript files %noreplace in spec file
Summary: Make javascript files %noreplace in spec file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gerbera
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-11 11:39 UTC by Laurent Jacquot
Modified: 2018-11-22 03:20 UTC (History)
1 user (show)

Fixed In Version: gerbera-1.2.0-3.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-22 03:20:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to the spec file (408 bytes, patch)
2018-11-11 11:39 UTC, Laurent Jacquot
no flags Details | Diff

Description Laurent Jacquot 2018-11-11 11:39:05 UTC
Created attachment 1504370 [details]
patch to the spec file

Description of problem:
User modified import.js, playlist.js and common.js get replaced when upgraded

Version-Release number of selected component (if applicable):
gerbera-1.2.0-2

Tentative patch to the spec file (also attached):

--- gerbera.spec	2018-11-11 11:19:07.795384135 +0100
+++ gerbera.spec.orig	2018-11-11 11:18:58.493515646 +0100
@@ -113,6 +113,9 @@
 
 %files data
 %{_datadir}/%{name}/
+%config(noreplace) %{_datadir}/%{name}/js/import.js
+%config(noreplace) %{_datadir}/%{name}/js/playlists.js
+%config(noreplace) %{_datadir}/%{name}/js/common.js
 
 %changelog
 * Tue Oct 23 2018 Gwyn Ciesla <limburgher> - 1.2.0-2

regards
Laurent

Comment 1 Fedora Update System 2018-11-12 22:40:08 UTC
gerbera-1.2.0-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2d7ec77ec0

Comment 2 Fedora Update System 2018-11-13 04:50:19 UTC
gerbera-1.2.0-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2d7ec77ec0

Comment 3 Fedora Update System 2018-11-22 03:20:37 UTC
gerbera-1.2.0-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.