[flex] Drop the dependency of core package on flex-static

Petr Machata pmachata at fedoraproject.org
Tue Aug 17 13:15:30 UTC 2010


commit d6e92f36f38991d55644b96faf455c3bc1332c65
Author: Petr Machata <pmachata at redhat.com>
Date:   Tue Aug 17 15:15:12 2010 +0200

    Drop the dependency of core package on flex-static

 flex.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/flex.spec b/flex.spec
index 8c05a1b..5fa8b2e 100644
--- a/flex.spec
+++ b/flex.spec
@@ -1,7 +1,7 @@
 Summary: A tool for creating scanners (text pattern recognizers)
 Name: flex
 Version: 2.5.35
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://flex.sourceforge.net/
@@ -16,14 +16,6 @@ BuildRequires: gettext bison m4
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 
-# We need to pull in the static library package.  That's necessary so
-# that packages that just do BuildRequires: flex can still use -lfl.
-# I suspect that linking to -lfl is actually rare and those (few)
-# packages that do use it could be taught to require the sub-package
-# explicitly.  So at some point in future, this dependency may be
-# dropped.
-Requires: flex-static = %{version}
-
 %description
 The flex program generates scanners.  Scanners are programs which can
 recognize lexical patterns in text.  Flex takes pairs of regular
@@ -109,6 +101,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/*.a
 
 %changelog
+* Tue Aug 17 2010 Petr Machata <pmachata at redhat.com> - 2.5.35-12
+- Drop the dependency of core package on flex-static.
+- Resolves: #624549
+
 * Wed Jul 14 2010 Petr Machata <pmachata at redhat.com> - 2.5.35-11
 - Forgot that the changes in flex.skl won't propagate to skel.c
 - Resolves: #612465


More information about the scm-commits mailing list