- Move headers to distinct directory to enforce pkg-config

correctness on library users.

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libasn1c?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2020-09-06 11:53:51 +00:00 committed by Git OBS Bridge
parent 7f8f482f40
commit f439aa358d
2 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,8 @@
Sun Sep 6 11:45:01 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs.
- Move headers to distinct directory to enforce pkg-config
correctness on library users.
-------------------------------------------------------------------
Thu Aug 15 04:54:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -70,8 +70,9 @@ applications that want to make use of libasn1c.
%build
echo %version >.tarball-version
autoreconf -fi
%configure --disable-static
make %{?_smp_mflags}
# bugzilla.opensuse.org/795968 for rationale
%configure --disable-static --includedir="%_includedir/%name"
%make_build
%install
%make_install
@ -90,7 +91,7 @@ fi
%files -n libasn1c-devel
%license COPYING
%_includedir/asn1c/
%_includedir/%name/
%_libdir/pkgconfig/*.pc
%_libdir/libasn1c.so