rpms/ustr/EL-5 html_doc_fixes.patch, NONE, 1.1 inst_examples.patch, NONE, 1.1 ustr.spec, 1.1, 1.2

James Antill (james) fedora-extras-commits at redhat.com
Mon Aug 6 01:21:35 UTC 2007


Author: james

Update of /cvs/pkgs/rpms/ustr/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30623

Modified Files:
	ustr.spec 
Added Files:
	html_doc_fixes.patch inst_examples.patch 
Log Message:
* Sun Aug  5 2007 James Antill <james at and.org> - 1.0.1-3
- Patches for minor GIT HEAD documentation fixes.
- Install mkdir_p and fgrep examples.


html_doc_fixes.patch:

--- NEW FILE html_doc_fixes.patch ---
--- Documentation/index.html	2007-08-04 01:21:02.000000000 -0400
+++ Documentation/index.html	2007-08-04 01:43:27.000000000 -0400
@@ -39,7 +39,7 @@
   <body>
     <h1>Micro String API - for C</h1>
 
-<h2> Download </h2>
+<h2> Download - Version 1.0.1 </h2>
 
 <p> You can get the stable release of <A href="1.0.1">1.0.x here</A>, it still
  doesn't have 100% documentation but it's pretty close. You can get the current
@@ -693,8 +693,8 @@
 
 ustr_free(s2); <span class="comment">/* free'd one reference to the data pointed to by both s2 and s3 */</span>
 
-ustr_set_share(s2);  <span class="comment">/* Make s2/s3 "shared" data,
-                        so it always has infinite references */</span>
+ustr_setf_share(s2);  <span class="comment">/* Make s2/s3 "shared" data,
+                         so it always has infinite references */</span>
 
 if (ustr_shared(s2)) <span class="comment">/* This is  TRUE */</span>
   <span class="comment">/* whatever */</span> ;
@@ -718,8 +718,8 @@
                         hence the explicit first check */</span>
   <span class="comment">/* error */</span> ;
 
-ustr_set_owner(s2); <span class="comment">/* Make s2 be "non-shared" and have a single owner */</span>
-ustr_set_owner(s1); <span class="comment">/* This fails, as you can't make a read-only string be "non-shared" */</span>
+ustr_setf_owner(s2); <span class="comment">/* Make s2 be "non-shared" and have a single owner */</span>
+ustr_setf_owner(s1); <span class="comment">/* This fails, as you can't make a read-only string be "non-shared" */</span>
 
 ustr_sc_del(&s2); <span class="comment">/* free'd s2 and set s2 = USTR("") */</span>
 
@@ -742,7 +742,7 @@
     <address><a href="mailto:james-web at and.org">James Antill</a></address>
 <!-- Created: Thu May 10 02:10:59 EDT 2007 -->
 <!-- hhmts start -->
-Last modified: Sat Aug  4 01:21:02 EDT 2007
+Last modified: Sat Aug  4 01:43:27 EDT 2007
 <!-- hhmts end -->
   </body>
 </html>

inst_examples.patch:

--- NEW FILE inst_examples.patch ---
diff --git a/Makefile b/Makefile
index 53edefe..1d6a55b 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,9 @@ EXAMPLES = examples/Makefile \
        examples/hexdump.c \
        examples/mkdir_p.c \
        examples/netstr.c \
-       examples/nums.c
+       examples/nums.c \
+       examples/mkdir_p.c \
+       examples/fgrep.c
 
 TST_ALL =  tst_0_sizes  tst_0_manual  ctst_0_cntl \
           otst_0_sizes otst_0_manual octst_0_cntl \


Index: ustr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ustr/EL-5/ustr.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ustr.spec	4 Aug 2007 19:06:20 -0000	1.1
+++ ustr.spec	6 Aug 2007 01:21:03 -0000	1.2
@@ -1,12 +1,14 @@
 
 Name: ustr
 Version: 1.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: String library, very low memory overhead, simple to import
 Group: System Environment/Libraries
 License: MIT or LGPLv2+ or BSD
 URL: http://www.and.org/ustr/
 Source0: http://www.and.org/ustr/%{version}/%{name}-%{version}.tar.gz
+Patch0: inst_examples.patch
+Patch1: html_doc_fixes.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # BuildRequires: make gcc sed
 
@@ -60,6 +62,9 @@
 %prep
 %setup -q
 
+%patch0 -p1
+%patch1 -p1
+
 %build
 # Last variable name explains itself.
 make %{?_smp_mflags} all-shared CFLAGS="${CFLAGS:-%optflags}" HIDE= \
@@ -123,6 +128,10 @@
 
 
 %changelog
+* Sun Aug  5 2007 James Antill <james at and.org> - 1.0.1-3
+- Patches for minor GIT HEAD documentation fixes.
+- Install mkdir_p and fgrep examples.
+
 * Sat Aug  4 2007 James Antill <james at and.org> - 1.0.1-2
 - First upload to Fedora repos.
 




More information about the fedora-extras-commits mailing list