Bug 171556 - Minor tweak to specfile %{_sysconfdir}
Minor tweak to specfile %{_sysconfdir}
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-10-23 00:39 EDT by Reuben Farrelly
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-25 06:07:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Reuben Farrelly 2005-10-23 00:39:05 EDT
In the vim.spec file we have this:

%config(noreplace) /etc/vimrc

Which should be really:

%config(noreplace) %{_sysconfdir}/vimrc

I am having minor problems whereby I always end up with a new vim.rpmnew file
upon upgrade, despite the two files being identical:

[root@typhoon etc]# ls -la vimr*
-rw-r--r--  1 root root 1473 Oct 18 02:24 vimrc
-rw-r--r--  1 root root 1473 Oct 18 02:24 vimrc.rpmnew

Hopefully this specfile fix might solve the problem.
Comment 1 Karsten Hopp 2005-10-25 06:07:43 EDT
The .rpmnew file is a problem I've still have to find a fix for. Two subpackages
of vim have the same config file in it (which shouldn't be a problem), but rpm
tends to disagree ;-(

I'll add the %{_sysconfdir} changes to CVS, they'll show up with the next build

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