Skip to content

Commit

Permalink
rm libopenosc.la from openosc-static pkg for Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
yonhan3 committed Apr 5, 2020
1 parent 3305f25 commit 7d492ad
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 18 deletions.
7 changes: 3 additions & 4 deletions SPECS/openosc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ potentially a source of buffer overflow flaws. It protects both C and C++ code.
%package devel
Summary: The OpenOSC development package
Group: Development/Libraries
Requires: openosc = %{version}-%{release}
Requires: openosc%{?_isa} = %{version}-%{release}

%description devel
OpenOSC development package, containing both header files and runtime library.
Expand All @@ -46,7 +46,7 @@ Requires: openosc-devel = %{version}-%{release}
OpenOSC static package, containing the static library.

%prep
%setup -q
%autosetup -n openosc-%{version}


%build
Expand All @@ -59,7 +59,7 @@ make %{?_smp_mflags}


%files
%{_libdir}/lib*.so.*
%{_libdir}/lib*.so.0*

%files devel
%{_libdir}/lib*.so
Expand All @@ -71,7 +71,6 @@ make %{?_smp_mflags}

%files static
%{_libdir}/lib*.a
%{_libdir}/lib*.la


%changelog
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for openosc 1.0.0.
# Generated by GNU Autoconf 2.69 for openosc 1.0.1.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='openosc'
PACKAGE_TARNAME='openosc'
PACKAGE_VERSION='1.0.0'
PACKAGE_STRING='openosc 1.0.0'
PACKAGE_VERSION='1.0.1'
PACKAGE_STRING='openosc 1.0.1'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1328,7 +1328,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures openosc 1.0.0 to adapt to many kinds of systems.
\`configure' configures openosc 1.0.1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1398,7 +1398,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of openosc 1.0.0:";;
short | recursive ) echo "Configuration of openosc 1.0.1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1506,7 +1506,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
openosc configure 1.0.0
openosc configure 1.0.1
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1996,7 +1996,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by openosc $as_me 1.0.0, which was
It was created by openosc $as_me 1.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2859,7 +2859,7 @@ fi

# Define the identity of the package.
PACKAGE='openosc'
VERSION='1.0.0'
VERSION='1.0.1'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -16710,7 +16710,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by openosc $as_me 1.0.0, which was
This file was extended by openosc $as_me 1.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -16776,7 +16776,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
openosc config.status 1.0.0
openosc config.status 1.0.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
3 changes: 3 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ endif
libopenosc_la_CFLAGS = $(OPENOSC_CFLAGS)
libopenosc_la_LDFLAGS = -version-info $(LT_VERSION_NUMBER) --allow-shlib-undefined
include_HEADERS = $(top_srcdir)/include/*.h

install-exec-hook:
cd $(DESTDIR)$(libdir) && rm $(lib_LTLIBRARIES)
10 changes: 7 additions & 3 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ install-dvi: install-dvi-am
install-dvi-am:

install-exec-am: install-libLTLIBRARIES

@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-am

install-html-am:
Expand Down Expand Up @@ -689,15 +690,15 @@ ps-am:

uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES

.MAKE: install-am install-strip
.MAKE: install-am install-exec-am install-strip

.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \
ctags-am distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am \
install-exec-am install-exec-hook install-html install-html-am \
install-includeHEADERS install-info install-info-am \
install-libLTLIBRARIES install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
Expand All @@ -708,6 +709,9 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
uninstall-libLTLIBRARIES


install-exec-hook:
cd $(DESTDIR)$(libdir) && rm $(lib_LTLIBRARIES)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

0 comments on commit 7d492ad

Please sign in to comment.