Upgrade to version 2.6.0
- Change to new upstream at https://github.com/nodejs/http-parser/
This commit is contained in:
parent
beb3289e63
commit
8567b0f9b0
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/joyent-http-parser-v2.0-0-g3fb4e06.tar.gz
|
/joyent-http-parser-v2.0-0-g3fb4e06.tar.gz
|
||||||
/joyent-http-parser-v2.0-5-g245f6f0.tar.gz
|
/joyent-http-parser-v2.0-5-g245f6f0.tar.gz
|
||||||
/joyent-http-parser-v2.0-7-gcd01361.tar.gz
|
/joyent-http-parser-v2.0-7-gcd01361.tar.gz
|
||||||
|
/v2.6.0.tar.gz
|
||||||
|
@ -1,21 +1,18 @@
|
|||||||
# we use the upstream version from http_parser.h as the SONAME
|
# we use the upstream version from http_parser.h as the SONAME
|
||||||
%global somajor 2
|
%global somajor 2
|
||||||
%global sominor 0
|
%global sominor 6
|
||||||
|
%global sopoint 0
|
||||||
%global git_date 20121128
|
|
||||||
%global git_commit_hash cd01361
|
|
||||||
%global github_seq 7
|
|
||||||
|
|
||||||
Name: http-parser
|
Name: http-parser
|
||||||
Version: %{somajor}.%{sominor}
|
Version: %{somajor}.%{sominor}.%{sopoint}
|
||||||
Release: 9.%{git_date}git%{git_commit_hash}%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: HTTP request/response parser for C
|
Summary: HTTP request/response parser for C
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/joyent/http-parser
|
URL: http://github.com/joyent/http-parser
|
||||||
# download from https://github.com/joyent/http-parser/tarball/%%{version}
|
|
||||||
Source0: joyent-http-parser-v%{version}-%{github_seq}-g%{git_commit_hash}.tar.gz
|
Source0: https://github.com/nodejs/http-parser/archive/v%{version}.tar.gz
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
# Build shared library with SONAME using gyp and remove -O flags so optflags take over
|
# Build shared library with SONAME using gyp and remove -O flags so optflags take over
|
||||||
@ -43,7 +40,7 @@ Development headers and libraries for http-parser.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n joyent-http-parser-%{git_commit_hash}
|
%setup -q -n http-parser-%{version}
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
|
|
||||||
@ -91,7 +88,8 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libhttp_parser.so.*
|
%{_libdir}/libhttp_parser.so.*
|
||||||
%{_libdir}/libhttp_parser_strict.so.*
|
%{_libdir}/libhttp_parser_strict.so.*
|
||||||
%doc AUTHORS CONTRIBUTIONS LICENSE-MIT README.md
|
%doc AUTHORS README.md
|
||||||
|
%license LICENSE-MIT
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -102,6 +100,10 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 01 2015 Stephen Gallagher <sgallagh@redhat.com> 2.6.0-1
|
||||||
|
- Upgrade to version 2.6.0
|
||||||
|
- Change to new upstream at https://github.com/nodejs/http-parser/
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-9.20121128gitcd01361
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-9.20121128gitcd01361
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
@ -164,3 +166,4 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
* Fri Sep 17 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.3-1.20100911git
|
* Fri Sep 17 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.3-1.20100911git
|
||||||
- Initial packaging
|
- Initial packaging
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user