[Git][debian-gis-team/josm-installer][master] Add Rules-Requires-Root to control file.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Nov 27 19:55:56 GMT 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / josm-installer


Commits:
f0f85632 by Bas Couwenberg at 2022-11-27T18:45:40+01:00
Add Rules-Requires-Root to control file.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+josm-installer (0.0.3+svn18515) UNRELEASED; urgency=medium
+
+  * Add Rules-Requires-Root to control file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Nov 2022 18:44:30 +0100
+
 josm-installer (0.0.2+svn18515) unstable; urgency=medium
 
   * Fix flake8 'E275 missing whitespace after keyword' issues.


=====================================
debian/control
=====================================
@@ -15,6 +15,7 @@ Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/josm-installer
 Vcs-Git: https://salsa.debian.org/debian-gis-team/josm-installer.git
 Homepage: https://josm.openstreetmap.de
+Rules-Requires-Root: no
 
 Package: josm-installer
 Architecture: all


=====================================
debian/rules
=====================================
@@ -28,30 +28,30 @@ endif
 override_dh_auto_install:
 	dh_auto_install
 
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/usr/bin
-	install -o root -g root -m 755 $(CURDIR)/josm $(CURDIR)/debian/josm-installer/usr/bin/josm
-	install -o root -g root -m 755 $(CURDIR)/josm-installer.py $(CURDIR)/debian/josm-installer/usr/bin/josm-installer
+	install -d $(CURDIR)/debian/josm-installer/usr/bin
+	install -m 755 $(CURDIR)/josm $(CURDIR)/debian/josm-installer/usr/bin/josm
+	install -m 755 $(CURDIR)/josm-installer.py $(CURDIR)/debian/josm-installer/usr/bin/josm-installer
 
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/lib/systemd/system
-	install -o root -g root -m 644 $(CURDIR)/josm-installer.service $(CURDIR)/debian/josm-installer/lib/systemd/system/josm-installer.service
-	install -o root -g root -m 644 $(CURDIR)/josm-installer.timer $(CURDIR)/debian/josm-installer/lib/systemd/system/josm-installer.timer
+	install -d $(CURDIR)/debian/josm-installer/lib/systemd/system
+	install -m 644 $(CURDIR)/josm-installer.service $(CURDIR)/debian/josm-installer/lib/systemd/system/josm-installer.service
+	install -m 644 $(CURDIR)/josm-installer.timer $(CURDIR)/debian/josm-installer/lib/systemd/system/josm-installer.timer
 
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/usr/share/josm
-	install -o root -g root -m 644 $(CURDIR)/placeholder $(CURDIR)/debian/josm-installer/usr/share/josm/.placeholder
+	install -d $(CURDIR)/debian/josm-installer/usr/share/josm
+	install -m 644 $(CURDIR)/placeholder $(CURDIR)/debian/josm-installer/usr/share/josm/.placeholder
 
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/etc/default
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/etc/default/josm $(CURDIR)/debian/josm-installer/etc/default/josm
+	install -d $(CURDIR)/debian/josm-installer/etc/default
+	install -m 644 $(CURDIR)/linux/tested/etc/default/josm $(CURDIR)/debian/josm-installer/etc/default/josm
 
 	for size in 512x512 256x256 192x192 128x128 96x96 80x80 72x72 64x64 48x48 42x42 40x40 36x36 32x32 24x24 22x22 16x16 8x8; do \
-		install -o root -g root -d $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/$${size}/apps ; \
-		install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png ; \
+		install -d $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/$${size}/apps ; \
+		install -m 644 $(CURDIR)/linux/tested/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png ; \
 	done
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/scalable/apps
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
+	install -d $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/scalable/apps
+	install -m 644 $(CURDIR)/linux/tested/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg $(CURDIR)/debian/josm-installer/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
 
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/pixmaps/org.openstreetmap.josm.png $(CURDIR)/debian/josm-installer/usr/share/pixmaps/org.openstreetmap.josm.png
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop $(CURDIR)/debian/josm-installer/usr/share/applications/org.openstreetmap.josm.desktop
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/metainfo/org.openstreetmap.josm.appdata.xml $(CURDIR)/debian/josm-installer/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
+	install -m 644 $(CURDIR)/linux/tested/usr/share/pixmaps/org.openstreetmap.josm.png $(CURDIR)/debian/josm-installer/usr/share/pixmaps/org.openstreetmap.josm.png
+	install -m 644 $(CURDIR)/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop $(CURDIR)/debian/josm-installer/usr/share/applications/org.openstreetmap.josm.desktop
+	install -m 644 $(CURDIR)/linux/tested/usr/share/metainfo/org.openstreetmap.josm.appdata.xml $(CURDIR)/debian/josm-installer/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
 
-	install -o root -g root -d $(CURDIR)/debian/josm-installer/usr/share/mime/packages
-	install -o root -g root -m 644 $(CURDIR)/linux/tested/usr/share/mime/packages/josm.xml $(CURDIR)/debian/josm-installer/usr/share/mime/packages
+	install -d $(CURDIR)/debian/josm-installer/usr/share/mime/packages
+	install -m 644 $(CURDIR)/linux/tested/usr/share/mime/packages/josm.xml $(CURDIR)/debian/josm-installer/usr/share/mime/packages



View it on GitLab: https://salsa.debian.org/debian-gis-team/josm-installer/-/commit/f0f85632ce503732fa1b3b32edde9b5dfd4d7afb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/josm-installer/-/commit/f0f85632ce503732fa1b3b32edde9b5dfd4d7afb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20221127/1c65cc66/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list