Skip to content

Commit a01b94c

Browse files
committed
Updated RPM spec.
1 parent f8b6693 commit a01b94c

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

rpm/socketapi.spec

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ BuildRequires: libtool
1616
BuildRequires: sctplib-libsctplib-devel
1717
BuildRoot: %{_tmppath}/%{name}-%{version}-build
1818

19-
# TEST ONLY:
20-
# define _unpackaged_files_terminate_build 0
19+
Requires: %{name}-libsctpsocket
20+
Requires: %{name}-libsctpsocket-devel
21+
2122

2223
%description
2324
SocketAPI is the socket API library for the SCTPLIB user-space
@@ -35,6 +36,8 @@ make %{?_smp_mflags}
3536
%install
3637
make DESTDIR=%{buildroot} install
3738

39+
%files
40+
3841

3942
%package libsctpsocket
4043
Summary: Socket API library for sctplib
@@ -50,7 +53,7 @@ the University of Essen, Germany.
5053

5154
%files libsctpsocket
5255
%{_libdir}/libsctpsocket.so.*
53-
%ghost %{_libdir}/libcppsocketapi.so.*
56+
%{_libdir}/libcppsocketapi.so.*
5457

5558

5659
%package libsctpsocket-devel
@@ -68,12 +71,12 @@ the University of Essen, Germany.
6871

6972
%files libsctpsocket-devel
7073
%{_includedir}/ext_socket.h
74+
%{_includedir}/cppsocketapi/*.h
75+
%{_includedir}/cppsocketapi/*.icc
7176
%{_libdir}/libsctpsocket*.a
7277
%{_libdir}/libsctpsocket*.so
73-
%ghost %{_libdir}/libcppsocketapi*.a
74-
%ghost %{_libdir}/libcppsocketapi*.so
75-
%ghost %{_includedir}/cppsocketapi/*.h
76-
%ghost %{_includedir}/cppsocketapi/*.icc
78+
%{_libdir}/libcppsocketapi*.a
79+
%{_libdir}/libcppsocketapi*.so
7780

7881

7982
%changelog

0 commit comments

Comments
 (0)