Old software: fs-diff
Analyse filesystem changes.
I use this script from rpm's .spec files to autogenerate file list. Features:
- Store information about all found files to small snapshot file.
- Compare two snapshots and show added/deleted/changed files.
- Exclude some directories like /var/log/ or /home/ from snapshot.
- fs-diff2rpm convert list of added/deleted/changed files to rpm-compatible format.
Example of .spec file:
%install
fs-diff
# make install here
fs-diff %{name}-%{version}
fs-diff2rpm --root=${RPM_BUILD_ROOT} \
/var/fs-diff/%{name}-%{version} \
>/var/fs-diff/%{name}-%{version}.files
%files -f /var/fs-diff/%{name}-%{version}.files
You should `mkdir /var/fs-diff/` to use it.
Download: fs-diff, fs-diff2rpm.