sagitter pushed to librfm (master). "Disabled mimetype determination by magic (patch0)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Apr 10 13:22:05 UTC 2015
>From 89d3451fa84c31f89eadd55aba5720627c3f57fc Mon Sep 17 00:00:00 2001
From: sagitter <sagitter at fedoraproject.org>
Date: Fri, 10 Apr 2015 15:21:35 +0200
Subject: Disabled mimetype determination by magic (patch0)
diff --git a/librfm-magic_header.patch b/librfm-magic_header.patch
new file mode 100644
index 0000000..6d5c879
--- /dev/null
+++ b/librfm-magic_header.patch
@@ -0,0 +1,14 @@
+--- configure.orig.ac 2015-03-23 22:22:03.000000000 +0100
++++ configure.ac 2015-04-09 15:54:44.461364698 +0200
+@@ -427,8 +427,8 @@
+
+ dnl Check for required packages
+ # check for libmagic (from "file" utility)
+-AC_CHECK_LIB([magic],[magic_file])
+-if test "$ac_cv_lib_magic_magic_file" = "no" ; then
++AC_CHECK_LIB([magic])
++if test "$ac_cv_lib_magic" = "no" ; then
+ AC_MSG_ERROR([*** Shucks! *** Error: libmagic header files were not found. Debian package is "libmagic-dev" or you can obtain the original authorĀ“s latest version by anonymous FTP on ftp.astron.com in the directory /pub/file/file-X.YZ.tar.gz. The Debian version adds a number of new magic entries. It can be obtained from every site carrying a Debian distribution (that is ftp.debian.org and mirrors)
+ In OpenSUSE/Fedora, the package is called "file-devel".])
+ fi
+
diff --git a/librfm.spec b/librfm.spec
index 412f5fd..1b0fcbf 100644
--- a/librfm.spec
+++ b/librfm.spec
@@ -1,12 +1,15 @@
Name: librfm
Summary: Rodent file manager basic library functionality
Version: 5.3.16
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Libraries
License: GPLv3+
URL: http://xffm.foo-projects.org/
Source0: http://sourceforge.net/projects/xffm/files/%{version}.5/librfm5-%{version}.0.tar.bz2
+##https://bugzilla.redhat.com/show_bug.cgi?id=1210424
+Patch0: %{name}-magic_header.patch
+
BuildRequires: gtk3-devel, ghostscript
BuildRequires: libxml2-devel
BuildRequires: file-devel
@@ -34,9 +37,12 @@ Shared links, header files for %{name}.
%prep
%setup -q -n %{name}5-%{version}.0
+%patch0 -p0
+
%build
+autoreconf -if
%configure --enable-static=no --enable-shared=yes --disable-silent-rules \
- --disable-gtk-doc-html --with-PACKAGE=no --with-la-files=no
+ --disable-gtk-doc-html --with-la-files=no
##Remove rpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -89,6 +95,9 @@ gtk-update-icon-cache %{_datadir}/icons/rfm &>/dev/null || :
%{_libdir}/librodent.so
%changelog
+* Fri Apr 10 2015 Antonio Trande <sagitterATfedoraproject.org> 5.3.16-2
+- Disabled mimetype determination by magic (patch0)
+
* Thu Apr 09 2015 Antonio Trande <sagitterATfedoraproject.org> 5.3.16-1
- Update to 5.3.16.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/librfm.git/commit/?h=master&id=89d3451fa84c31f89eadd55aba5720627c3f57fc
More information about the scm-commits
mailing list