Accepting request 393189 from home:pluskalm:branches:Publishing

- Update to 2.2.0
  * no changelog provided
- Build with optflags
- Refresh discount-disable_ldconfig.patch

OBS-URL: https://build.opensuse.org/request/show/393189
OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=9
This commit is contained in:
Martin Pluskal 2016-05-02 19:15:25 +00:00 committed by Git OBS Bridge
parent 3cc7a72e73
commit 1ac1163813
5 changed files with 20 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c01502f4eedba8163dcd30c613ba5ee238a068f75291be127856261727e03526
size 85161

3
discount-2.2.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b25395c29c2c08836199eb2eae87b56e6b545e77f5fbf921678aa1dc0ddab9f3
size 88387

View File

@ -2,7 +2,7 @@ Index: configure.inc
===================================================================
--- configure.inc.orig
+++ configure.inc
@@ -1270,7 +1270,6 @@ __AC_ELF_LIBRARIAN() {
@@ -1297,7 +1297,6 @@ __AC_ELF_LIBRARIAN() {
if $AC_CC $_VFLAGS -o ngc$$.so ngc$$.c; then
USE_SONAME=T
fi
@ -10,11 +10,11 @@ Index: configure.inc
__config_files="$__config_files librarian.sh"
cat > librarian.sh << EOF
#! /bin/sh
@@ -1304,7 +1303,6 @@ files) echo "\$FULLNAME" "\$LIBNAME" "\
install)$PROG_INSTALL -c \$FULLNAME "\$1"
@@ -1332,7 +1331,6 @@ install)$PROG_INSTALL -c \$FULLNAME "\$1
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME.\$MAJOR
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME
- test "$LDCONFIG" && $LDCONFIG "\$1"
EOF
- test "$LDCONFIG" && echo ' '$LDCONFIG '"$1"' >> librarian.sh
cat >> librarian.sh << EOF
;;
esac
EOF

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun May 1 15:29:28 UTC 2016 - mpluskal@suse.com
- Update to 2.2.0
* no changelog provided
- Build with optflags
- Refresh discount-disable_ldconfig.patch
-------------------------------------------------------------------
Thu May 21 11:59:36 UTC 2015 - mailaender@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package discount
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,10 @@
#
%bcond_with fenced_code
%define soname 2
%bcond_with fenced_code
Name: discount
Version: 2.1.8a
Version: 2.2.0
Release: 0
Summary: Markdown text to HTML converter
License: BSD-3-Clause
@ -69,8 +68,6 @@ of Markdown.
%patch2 -p1
%build
CC="gcc" \
CFLAGS="%{optflags}" \
./configure.sh \
--shared \
--prefix="%{_prefix}" \
@ -84,7 +81,7 @@ CFLAGS="%{optflags}" \
--with-dl=BOTH \
--enable-all-features
make %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
%install
install -d "%{buildroot}%{_bindir}"