rpms/ustr/devel ustr.spec,1.4,1.5
James Antill (james)
fedora-extras-commits at redhat.com
Tue Aug 28 17:47:13 UTC 2007
Author: james
Update of /cvs/pkgs/rpms/ustr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26569
Modified Files:
ustr.spec
Log Message:
* Tue Aug 28 2007 James Antill <jantill at redhat.com> - 1.0.1-6
- Add options for fedora policy brokeness, so it's easy to undo.
- Rebuild for buildid.
Index: ustr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ustr/devel/ustr.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ustr.spec 8 Aug 2007 23:39:11 -0000 1.4
+++ ustr.spec 28 Aug 2007 17:46:41 -0000 1.5
@@ -1,7 +1,25 @@
+%define show_all_cmds 1
+%define broken_fed_dbg_opts 1
+
+%if %{show_all_cmds}
+%define policy_cflags_hide HIDE=
+%else
+%define policy_cflags_hide %{nil}
+%endif
+
+%if %{broken_fed_dbg_opts}
+# Variable name explains itself.
+%define policy_cflags_broken DBG_ONLY_BAD_POLICIES_HAVE_THIS_EMPTY_CFLAGS=
+%else
+%define policy_cflags_broken %{nil}
+%endif
+
+%define policy_cflags %{policy_cflags_hide} %{policy_cflags_broken}
+
Name: ustr
Version: 1.0.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: String library, very low memory overhead, simple to import
Group: System Environment/Libraries
License: MIT or LGPLv2+ or BSD
@@ -68,13 +86,11 @@
%patch2 -p1
%build
-# Last variable name explains itself.
-make %{?_smp_mflags} all-shared CFLAGS="${CFLAGS:-%optflags}" HIDE= \
- DBG_ONLY_BAD_POLICIES_HAVE_THIS_EMPTY_CFLAGS=
+make %{?_smp_mflags} all-shared CFLAGS="${CFLAGS:-%optflags}" %{policy_cflags}
%check
%if %{?chk}%{!?chk:1}
-make check HIDE=
+make check %{policy_cflags}
%endif
%install
@@ -130,6 +146,10 @@
%changelog
+* Tue Aug 28 2007 James Antill <jantill at redhat.com> - 1.0.1-6
+- Add options for fedora policy brokeness, so it's easy to undo.
+- Rebuild for buildid.
+
* Wed Aug 8 2007 James Antill <james at and.org> - 1.0.1-5
- Import fix for ustr-import, wrt. repl <=> replace
More information about the scm-commits
mailing list