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


Commits:
5b450f7d by Bas Couwenberg at 2022-11-27T18:43:47+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 (0.0.svn18583+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add Rules-Requires-Root to control file.
+
+ -- Bas Couwenberg <[email protected]>  Sun, 27 Nov 2022 18:43:41 +0100
+
 josm (0.0.svn18583+dfsg-1) unstable; urgency=medium
 
   * New tested snapshot.


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


=====================================
debian/rules
=====================================
@@ -38,27 +38,27 @@ override_dh_auto_build:
 override_dh_auto_install:
        dh_auto_install
 
-       install -o root -g root -m 644 $(CURDIR)/dist/josm-custom.jar 
$(CURDIR)/debian/josm/usr/share/josm/josm-${DEB_UPSTREAM_VERSION}.jar
+       install -m 644 $(CURDIR)/dist/josm-custom.jar 
$(CURDIR)/debian/josm/usr/share/josm/josm-${DEB_UPSTREAM_VERSION}.jar
        dh_link usr/share/josm/josm-${DEB_UPSTREAM_VERSION}.jar 
usr/share/josm/josm.jar
 
-       install -o root -g root -m 755 
$(CURDIR)/native/linux/tested/usr/bin/josm $(CURDIR)/debian/josm/usr/bin/josm
+       install -m 755 $(CURDIR)/native/linux/tested/usr/bin/josm 
$(CURDIR)/debian/josm/usr/bin/josm
 
-       install -o root -g root -d $(CURDIR)/debian/josm/etc/default
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/etc/default/josm 
$(CURDIR)/debian/josm/etc/default/josm
+       install -d $(CURDIR)/debian/josm/etc/default
+       install -m 644 $(CURDIR)/native/linux/tested/etc/default/josm 
$(CURDIR)/debian/josm/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/usr/share/icons/hicolor/$${size}/apps ; \
-               install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png
 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png
 ; \
+               install -d 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/$${size}/apps ; \
+               install -m 644 
$(CURDIR)/native/linux/tested/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png
 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/$${size}/apps/org.openstreetmap.josm.png
 ; \
        done
-       install -o root -g root -d 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
+       install -d $(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps
+       install -m 644 
$(CURDIR)/native/linux/tested/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
 
$(CURDIR)/debian/josm/usr/share/icons/hicolor/scalable/apps/org.openstreetmap.josm.svg
 
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/pixmaps/org.openstreetmap.josm.png 
$(CURDIR)/debian/josm/usr/share/pixmaps/org.openstreetmap.josm.png
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop
 $(CURDIR)/debian/josm/usr/share/applications/org.openstreetmap.josm.desktop
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
 $(CURDIR)/debian/josm/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
+       install -m 644 
$(CURDIR)/native/linux/tested/usr/share/pixmaps/org.openstreetmap.josm.png 
$(CURDIR)/debian/josm/usr/share/pixmaps/org.openstreetmap.josm.png
+       install -m 644 
$(CURDIR)/native/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop
 $(CURDIR)/debian/josm/usr/share/applications/org.openstreetmap.josm.desktop
+       install -m 644 
$(CURDIR)/native/linux/tested/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
 $(CURDIR)/debian/josm/usr/share/metainfo/org.openstreetmap.josm.appdata.xml
 
-       install -o root -g root -d $(CURDIR)/debian/josm/usr/share/mime/packages
-       install -o root -g root -m 644 
$(CURDIR)/native/linux/tested/usr/share/mime/packages/josm.xml 
$(CURDIR)/debian/josm/usr/share/mime/packages
+       install -d $(CURDIR)/debian/josm/usr/share/mime/packages
+       install -m 644 
$(CURDIR)/native/linux/tested/usr/share/mime/packages/josm.xml 
$(CURDIR)/debian/josm/usr/share/mime/packages
 
 override_dh_install:
        dh_install



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

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


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to