From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages
Date: Sat, 10 Apr 2021 23:17:17 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30134@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages remove-wrong-files
https://github.com/void-linux/void-packages/pull/30134
Remove LICENSE, README, CHANGES files from /usr/ in some packages
A patch file from https://github.com/void-linux/void-packages/pull/30134.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-remove-wrong-files-30134.patch --]
[-- Type: text/x-diff, Size: 2858 bytes --]
From bce4c01f2a0b710386092f0da182a0d2906b837a Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 23:10:25 +0200
Subject: [PATCH 1/3] Haru: remove /usr/{INSTALL,README,CHANGES}
---
srcpkgs/Haru/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/Haru/template b/srcpkgs/Haru/template
index c343c70ec5de..010d74a75685 100644
--- a/srcpkgs/Haru/template
+++ b/srcpkgs/Haru/template
@@ -1,7 +1,7 @@
# Template file for 'Haru'
pkgname=Haru
version=2.3.0
-revision=2
+revision=3
wrksrc="libharu-RELEASE_${version//./_}"
build_style=cmake
makedepends="zlib-devel libpng-devel"
@@ -13,6 +13,7 @@ distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.ta
checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
post_install() {
+ rm ${DESTDIR}/usr/{INSTALL,README,CHANGES}
vlicense LICENSE
}
From b1db5bb49526ca02ab69198721a91de69fa4d8ec Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 23:07:46 +0200
Subject: [PATCH 2/3] MultiMarkdown: remove /usr/{LICENSE,README}.txt
---
srcpkgs/MultiMarkdown/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/MultiMarkdown/template b/srcpkgs/MultiMarkdown/template
index 96d153d87297..75bd1e04e476 100644
--- a/srcpkgs/MultiMarkdown/template
+++ b/srcpkgs/MultiMarkdown/template
@@ -1,7 +1,7 @@
# Template file for 'MultiMarkdown'
pkgname=MultiMarkdown
version=6.6.0
-revision=1
+revision=2
wrksrc="$pkgname-6-$version"
build_style=cmake
hostmakedepends="perl"
@@ -18,5 +18,6 @@ post_install() {
mv ${DESTDIR}/usr/bin/markdown ${DESTDIR}/usr/bin/multimarkdown-markdown
# Avoid conflict with mtools
mv ${DESTDIR}/usr/bin/mmd ${DESTDIR}/usr/bin/multimarkdown-mmd
+ rm ${DESTDIR}/usr/{LICENSE,README}.txt
vlicense LICENSE
}
From 7d0899149581009715d38f78e0f1e0998036a5dc Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 22:38:33 +0200
Subject: [PATCH 3/3] python3-anytree: remove /usr/LICENSE
---
srcpkgs/python3-anytree/template | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-anytree/template b/srcpkgs/python3-anytree/template
index e767018e6331..4aa26af7da49 100644
--- a/srcpkgs/python3-anytree/template
+++ b/srcpkgs/python3-anytree/template
@@ -1,7 +1,7 @@
# Template file for 'python3-anytree'
pkgname=python3-anytree
version=2.8.0
-revision=2
+revision=3
wrksrc="anytree-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -12,3 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/c0fec0de/anytree"
distfiles="${PYPI_SITE}/a/anytree/anytree-${version}.tar.gz"
checksum=3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab
+
+post_install() {
+ rm ${DESTDIR}/usr/LICENSE
+}
next reply other threads:[~2021-04-10 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-10 21:17 paper42 [this message]
2021-04-11 6:43 ` ericonr
2021-04-11 9:53 ` paper42
2021-04-11 23:53 ` sgn
2021-04-12 0:50 ` [PR PATCH] [Closed]: " sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30134@inbox.vuxu.org \
--to=paper42@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).