diff options
author | Jakub Bogusz | 2016-04-11 15:34:54 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2016-04-11 15:34:54 (GMT) |
commit | eba7ce85ab26e048102cd66d9e3157cb954ad9d7 (patch) | |
tree | 92083b83843b09bd9829ce94bf935661c65571d2 | |
parent | eb573c479d13b1bcb5756aa03f0401c7d6d86bdd (diff) | |
download | socket99-eba7ce85ab26e048102cd66d9e3157cb954ad9d7.zip socket99-eba7ce85ab26e048102cd66d9e3157cb954ad9d7.tar.gz |
- updated to 0.2.0 releaseauto/th/socket99-0.2.0-1
-rw-r--r-- | socket99.spec | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/socket99.spec b/socket99.spec index f28ea32..de49227 100644 --- a/socket99.spec +++ b/socket99.spec @@ -1,13 +1,13 @@ Summary: C99 wrapper library for the BSD sockets API Summary(pl.UTF-8): Biblioteka C99 obudowujÄ…ca API gniazd BSD Name: socket99 -Version: 0 -%define snap 20140923 -Release: 0.%{snap}.1 +Version: 0.2.0 +Release: 1 License: MIT Group: Libraries -Source0: https://github.com/silentbicycle/socket99/archive/master/%{name}.tar.gz -# Source0-md5: fc1a45bfe0a802aac24bdee78d51e6f4 +#Source0Download: https://github.com/silentbicycle/socket99/releases +Source0: https://github.com/silentbicycle/socket99/archive/v%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 8fd589f5f8e29a5178a79a019f660886 URL: https://github.com/silentbicycle/socket99 BuildRequires: gcc >= 5:3.0 BuildRequires: libtool @@ -57,10 +57,10 @@ Static socket99 library. Statyczna biblioteka socket99. %prep -%setup -q -n socket99-master +%setup -q %build -libtool --mode=compile %{__cc} %{rpmcflags} %{rpmcppflags} -Wall -c socket99.c +libtool --mode=compile %{__cc} %{rpmcflags} %{rpmcppflags} -Wall -Wextra -std=c99 -D_GNU_SOURCE -c socket99.c libtool --mode=link %{__cc} %{rpmldflags} %{rpmcflags} -o libsocket99.la socket99.lo -rpath %{_libdir} %install |