trivial build products should not be in source package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Packaging trivial build products such as shell/cc-
Consider the typical approach for shadowing the package with additional patches:
$ apt-get source gnome-control-
$ cd gnome-control-
$ git init
$ git add .
$ git commit -m "Base package"
$ dpkg-buildpackage -b -rfakeroot -us -uc
..... everything builds fine, now cleanup and rebuild .....
$ git reset --hard HEAD
$ git clean -xdf
$ dpkg-buildpackage -b -rfakeroot -us -uc
..... build fails because trivial build products have current datetime so won't be rebuilt :(