[http-parser] New upstream release 1.0

Matej Cepl mcepl at fedoraproject.org
Tue Aug 23 11:15:50 UTC 2011


commit 0cf3a660444cc8996a11700aee0c2beed24d76a9
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Tue Aug 23 13:15:02 2011 +0200

    New upstream release 1.0
    
    - Remove patches, no longer needed for nodejs
    - Fix typo in -devel description
    - use github tarball instead of checkout

 .gitignore                                         |    1 +
 ...t-for-M-SEARCH-and-NOTIFY-request-methods.patch |  106 --------------------
 ...rt-for-SUBSCRIBE-and-UNSUBSCRIBE-request-.patch |   63 ------------
 http-parser.spec                                   |   31 +++---
 sources                                            |    2 +-
 5 files changed, 18 insertions(+), 185 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cb155e9..e6e168f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /http-parser.tar.gz
+/ry-http-parser-v1.0-0-g32c0e11.tar.gz
diff --git a/http-parser.spec b/http-parser.spec
index be66b76..16454bc 100644
--- a/http-parser.spec
+++ b/http-parser.spec
@@ -1,20 +1,17 @@
-%global somajor 0
-%global sominor 3
+%global somajor 1
+%global sominor 0
+%global git_hash 32c0e11
 
 Name:           http-parser
 Version:        %{somajor}.%{sominor}
-Release:        6.20100911git%{?dist}
+Release:        1%{?dist}
 Summary:        HTTP request/response parser for C
 
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://github.com/ry/http-parser
-# git clone http://github.com/ry/http-parser.git
-# cd http-parser/
-# git archive 459507f5 --prefix=http-parser/ |gzip -9 >../http-parser.tar.gz
-Source0:        http-parser.tar.gz
-Patch0:         0001-Add-support-for-M-SEARCH-and-NOTIFY-request-methods.patch
-Patch1:         0002-Added-support-for-SUBSCRIBE-and-UNSUBSCRIBE-request-.patch
+# download from https://github.com/ry/http-parser/tarball/v%%{version}
+Source0:        ry-http-parser-v%{version}-0-g%{git_hash}.tar.gz
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 %description
@@ -32,13 +29,11 @@ Summary:        Development headers and libraries for http-parser
 Requires:       %{name} = %{version}-%{release}
 
 %description devel
-Development headers and libraries for htt-parser.
+Development headers and libraries for http-parser.
 
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
+%setup -q -n ry-http-parser-%{git_hash}
 
 
 %build
@@ -82,13 +77,19 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0-1
+- New upstream release 1.0
+- Remove patches, no longer needed for nodejs
+- Fix typo in -devel description
+- use github tarball instead of checkout
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-6.20100911git
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Tue Jan 11 2011 Lubomir Rintel <lkundrak at v3.sk> - 0.3-5.20100911git
 - Add support for methods used by node.js
 
-* Thu Nov  4 2010 Dan Horák <dan[at]danny.cz> - 0.3-4.20100911git
+* Thu Nov  4 2010 Dan Horák <dan[at]danny.cz> - 0.3-4.20100911git
 - build with -fsigned-char
 
 * Wed Sep 29 2010 jkeating - 0.3-3.20100911git
@@ -98,4 +99,4 @@ rm -rf $RPM_BUILD_ROOT
 - Call ldconfig (Peter Lemenkov)
 
 * Fri Sep 17 2010 Lubomir Rintel <lkundrak at v3.sk> - 0.3-1.20100911git
-- Initial packaging
+- Initial packaging
\ No newline at end of file
diff --git a/sources b/sources
index 62f2aed..1e3da22 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d6a9377a4ed8288a8cb544389fd9bf88  http-parser.tar.gz
+c24c8f016eebcb30afb96c51ee938b0a  ry-http-parser-v1.0-0-g32c0e11.tar.gz


More information about the scm-commits mailing list