mcpierce pushed to qpid-proton (el6). "Added a global excludes macro to fix EL6 issues with example Perl modules."
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 8 18:17:30 UTC 2015
>From 71c38576a5280315a879089c1ab2bbff29b033ff Mon Sep 17 00:00:00 2001
From: "Darryl L. Pierce" <mcpierce at gmail.com>
Date: Wed, 8 Apr 2015 13:28:31 -0400
Subject: Added a global excludes macro to fix EL6 issues with example Perl
modules.
diff --git a/qpid-proton.spec b/qpid-proton.spec
index 02ec24d..c23fa89 100644
--- a/qpid-proton.spec
+++ b/qpid-proton.spec
@@ -1,9 +1,20 @@
%global proton_datadir %{_datadir}/proton-%{version}
%global gem_name qpid_proton
+# per https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Preventing_files.2Fdirectories_from_being_scanned_for_deps_.28pre-scan_filtering.29
+%global __provides_exclude_from ^%{_datadir}/proton-%{version}/examples/.*$
+%global __requires_exclude_from ^%{_datadir}/proton-%{version}/examples/.*$
+
+# for older rpm, like el6, https://fedoraproject.org/wiki/EPEL:Packaging_Autoprovides_and_Requires_Filtering#Perl
+%{?filter_setup:
+%filter_provides_in %{_datadir}/proton-%{version}/examples/
+%filter_requires_in %{_datadir}/proton-%{version}/examples/
+%filter_setup
+}
+
Name: qpid-proton
Version: 0.9
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A high performance, lightweight messaging library
License: ASL 2.0
@@ -209,6 +220,9 @@ make test
popd
%changelog
+* Wed Apr 8 2015 Darryl L. Pierce <dpierce at redhat.com> - 0.9-3
+- Added a global excludes macro to fix EL6 issues with example Perl modules.
+
* Wed Apr 8 2015 Darryl L. Pierce <dpierce at redhat.com> - 0.9-2
- Marked the examples in -c-devel as doc.
- Turned off the executable flag on all files under examples.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/qpid-proton.git/commit/?h=el6&id=71c38576a5280315a879089c1ab2bbff29b033ff
More information about the scm-commits
mailing list