Browse Source

changed debian/rules to remove the .egg-info file before building the package

Helmut Pozimski 10 years ago
parent
commit
9faa75fbe6
3 changed files with 5 additions and 1 deletions
  1. 1 0
      debian/changelog
  2. 1 1
      debian/control
  3. 3 0
      debian/rules

+ 1 - 0
debian/changelog

@@ -1,6 +1,7 @@
 stdd (0.9-2) unstable; urgency=low
 
   * Changed init script to properly read /etc/default/stdd and switch user
+  * Removed .egg-info file when building the package
 
  -- Helmut Pozimski <helmut@pozimski.eu>  Thu, 01 Aug 2013 19:22:00 +0200
 

+ 1 - 1
debian/control

@@ -9,7 +9,7 @@ Standards-Version: 3.9.4
 
 Package: stdd
 Architecture: all
-Depends: python (>= 2.7), python-smbus, i2c-tools, python-prctl
+Depends:  ${misc:Depends}, ${misc:Depends}, python (>= 2.7), python-smbus, i2c-tools, python-prctl
 Description: simple time display daemon
  stdd is a small daemon written in python which displays
  the current time on a 7 segment display from Adafruit attached via i2c

+ 3 - 0
debian/rules

@@ -9,3 +9,6 @@ override_dh_auto_install:
 	python setup.py install --root=debian/stdd --install-layout=deb --install-lib=/usr/share/stdd --install-scripts=/usr/share/stdd
 override_dh_auto_build:
 
+override_dh_install:
+	find -name '*.egg-info' -exec rm {} \;
+	dh_install