[packages/file] drop selinux patch

atler atler at pld-linux.org
Mon Dec 26 23:21:04 CET 2022


commit 329d91aeacfb017ee8ef0c20f0db20c2cb57eeb7
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Dec 26 23:04:14 2022 +0100

    drop selinux patch
    
    appears to be applied upstream and removed from debian (where it
    originated from) since 2011

 file-selinux.patch | 19 -------------------
 file.spec          | 10 ++++------
 2 files changed, 4 insertions(+), 25 deletions(-)
---
diff --git a/file.spec b/file.spec
index f6a005f..b63d794 100644
--- a/file.spec
+++ b/file.spec
@@ -45,11 +45,10 @@ Source1:	http://ftp1.pld-linux.org/people/glen/%{name}-non-english-man-pages.tar
 Source2:	%{name}-zisofs.magic
 Source3:	%{name}-mscompress.magic
 Source4:	%{name}-magic.mime-gen.awk
-Patch0:		%{name}-selinux.patch
-Patch1:		searchpath.patch
-Patch2:		automake.patch
-Patch3:		%{name}-gettext-no-random-translations.patch
-Patch4:		name-use-count.patch
+Patch0:		searchpath.patch
+Patch1:		automake.patch
+Patch2:		%{name}-gettext-no-random-translations.patch
+Patch3:		name-use-count.patch
 URL:		http://www.darwinsys.com/file/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -283,7 +282,6 @@ Wiązania Pythona 3 do biblioteki libmagic.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %if "%{_ver_lt '%{cc_version}' '3.4'}" == "1"
 %{__sed} -i -e 's,-Wextra,,' configure.ac
diff --git a/file-selinux.patch b/file-selinux.patch
deleted file mode 100644
index e475d1e..0000000
--- a/file-selinux.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- file-4.02/magic/Magdir/policy.selinux	2003-08-28 14:36:54.000000000 -0400
-+++ file-4.02/magic/Magdir/policy	2003-08-28 14:39:35.000000000 -0400
-@@ -0,0 +1,6 @@
-+# SE Linux policy database
-+0       lelong  0xf97cff8c      SE Linux policy
-+>16     lelong  x               v%d
-+>20     lelong  1 		MLS
-+>24     lelong  x       	%d symbols
-+>28     lelong  x       	%d ocons
---- file-5.38/magic/Makefile.am~	2019-11-02 20:37:58.000000000 +0200
-+++ file-5.38/magic/Makefile.am	2019-12-20 15:41:32.300192925 +0200
-@@ -228,6 +228,7 @@
- $(MAGIC_FRAGMENT_DIR)/plan9 \
- $(MAGIC_FRAGMENT_DIR)/plus5 \
- $(MAGIC_FRAGMENT_DIR)/pmem \
-+$(MAGIC_FRAGMENT_DIR)/policy \
- $(MAGIC_FRAGMENT_DIR)/polyml \
- $(MAGIC_FRAGMENT_DIR)/printer \
- $(MAGIC_FRAGMENT_DIR)/project \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/0e2e204a7a2e728797af8ead98204ad2a23ebdf6



More information about the pld-cvs-commit mailing list