summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-14 07:06:01 +0200
committerThomas Haller <thaller@redhat.com>2016-10-14 10:33:30 +0200
commitcf678811b5f42161daee28455072f0c2390850be (patch)
treebc0fb35384a9fd2cdc23150f70e60526a74bfb71 /contrib
parentc7853a141544c1c53e4ec328a47701577df2c0c0 (diff)
downloadNetworkManager-cf678811b5f42161daee28455072f0c2390850be.tar.gz
contrib/rpm: regenerate the linker version script NetworkManager.ver while building the package
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index e64d746d25..be193113e2 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -429,6 +429,11 @@ intltoolize --automake --copy --force
make %{?_smp_mflags}
+# regenerate src/NetworkManager.ver with the actually used
+# symbols and relink.
+./tools/create-exports-NetworkManager.sh update
+make %{?_smp_mflags}
+
%install
# install NM
make install DESTDIR=%{buildroot}