0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Problem: spec file needs version before build on OBS

Solution: stop autogenerating it and hard code version so that the
OBS build service can extract it and use it to build packages
automatically
This commit is contained in:
Luca Boccassi 2016-07-30 16:32:36 +01:00
parent 9c741c09a1
commit 0372e5ce22
4 changed files with 2 additions and 6 deletions

2
.gitignore vendored
View File

@ -163,10 +163,8 @@ src/libzmq.pc
bin/ bin/
lib/ lib/
obj/ obj/
builds/redhat/zeromq.spec
builds/android/prefix/ builds/android/prefix/
packaging/nuget/*.nupkg packaging/nuget/*.nupkg
packaging/redhat/zeromq.spec
foreign/openpgm/* foreign/openpgm/*
!foreign/openpgm/*.tar.bz2 !foreign/openpgm/*.tar.bz2
!foreign/openpgm/*.tar.gz !foreign/openpgm/*.tar.gz

View File

@ -810,7 +810,6 @@ dist-hook:
else \ else \
echo A git clone is required to generate a ChangeLog >&2; \ echo A git clone is required to generate a ChangeLog >&2; \
fi fi
-cp $(top_srcdir)/packaging/redhat/zeromq.spec $(distdir)/zeromq.spec
maintainer-clean-local: maintainer-clean-local:
-rm -rf $(top_srcdir)/config -rm -rf $(top_srcdir)/config

View File

@ -662,7 +662,6 @@ AC_CONFIG_FILES([ \
src/libzmq.pc \ src/libzmq.pc \
doc/Makefile \ doc/Makefile \
builds/Makefile \ builds/Makefile \
builds/msvc/Makefile \ builds/msvc/Makefile])
packaging/redhat/zeromq.spec])
AC_OUTPUT AC_OUTPUT

View File

@ -1,5 +1,5 @@
Name: zeromq Name: zeromq
Version: @PACKAGE_VERSION@ Version: 4.2.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: The ZeroMQ messaging library Summary: The ZeroMQ messaging library
Group: Applications/Internet Group: Applications/Internet