This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 121121 - *.pyc files are not deleted at uninstalling
*.pyc files are not deleted at uninstalling
Product: Fedora
Classification: Fedora
Component: system-config-packages (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2004-04-17 11:56 EDT by Robert Scheck
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-23 11:30:55 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 Robert Scheck 2004-04-17 11:56:36 EDT
Description of problem:
At uninstalling the rpm the *.pyc files are not deleted at 

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

How reproducible & Steps to Reproduce:
Every time and more is described above.

Actual results:
The following in the spec file solves it:

--- snipp ---
if [ -d %{_datadir}/%{name} ] ; then
  rm -rf %{_datadir}/%{name}/*.pyc
--- snapp ---

Expected results:
That *.pyc files are deleted
Comment 1 Brent Fox 2004-04-23 11:30:55 EDT
Should be fixed in system-config-packages-1.2.13-1 in Rawhide.

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