From c0a64271ae792a19b7ed584f8e3da4a70f58c691 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 12 Jun 2014 20:24:50 -0500 Subject: [PATCH 1/1] Update Linux packaging --- archlinux/PKGBUILD | 7 +++++-- debian/wimlib-doc.docs | 1 - debian/wimtools.docs | 1 - rpm/wimtools.spec | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD index 8157966a..027ca1c6 100644 --- a/archlinux/PKGBUILD +++ b/archlinux/PKGBUILD @@ -6,7 +6,7 @@ pkgrel=1 pkgdesc="A library and program to extract, create, and modify WIM files" arch=("i686" "x86_64") url="http://sourceforge.net/projects/wimlib" -license=("GPL3") +license=("custom") depends=("openssl" "fuse" "libxml2" "ntfs-3g" "attr") optdepends=("cdrkit: for making ISO image of Windows PE" "mtools: for making disk image of Windows PE" @@ -30,7 +30,10 @@ check() { package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install - for file in README NEWS README.WINDOWS; do + for file in NEWS README*; do install -Dm644 $file "$pkgdir/usr/share/doc/$pkgname/$file" done + for file in COPYING*; do + install -Dm644 $file "$pkgdir/usr/share/licenses/$pkgname/$file" + done } diff --git a/debian/wimlib-doc.docs b/debian/wimlib-doc.docs index a6af8028..3abb624d 100644 --- a/debian/wimlib-doc.docs +++ b/debian/wimlib-doc.docs @@ -1,4 +1,3 @@ doc/html -AUTHORS NEWS README diff --git a/debian/wimtools.docs b/debian/wimtools.docs index 6f83607c..50bd824b 100644 --- a/debian/wimtools.docs +++ b/debian/wimtools.docs @@ -1,3 +1,2 @@ -AUTHORS NEWS README diff --git a/rpm/wimtools.spec b/rpm/wimtools.spec index cc2ad433..64bae856 100644 --- a/rpm/wimtools.spec +++ b/rpm/wimtools.spec @@ -76,7 +76,7 @@ rm -rf %{buildroot} %defattr(-, root, root) %{_bindir}/* %doc %{_mandir}/man1/*.1.gz -%doc README AUTHORS COPYING +%doc README COPYING COPYING.GPLv3 %files -n libwim15-devel %defattr(-, root, root) @@ -89,4 +89,4 @@ rm -rf %{buildroot} %files -n libwim15 %defattr(-, root, root) %{_libdir}/libwim.so.* -%doc COPYING +%doc COPYING COPYING.GPLv3 COPYING.LGPLv3 -- 2.43.0