forked from syslog-ng/syslog-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: use PACKAGE_VERSION variable instead of VERSION
The AC_INIT macro will define the PACKAGE_VERSION variable: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Initializing-configure.html#AC%5fINIT I kept the #define name `SYSLOG_NG_VERSION` for backward compatibility with incubator. Signed-off-by: Tibor Benke <[email protected]>
- Loading branch information
Tibor Benke
committed
Mar 4, 2016
1 parent
06b881c
commit b842b38
Showing
6 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Summary: Next generation system logging daemon | ||
Name: @PACKAGE_NAME@ | ||
Version: @VERSION@ | ||
Version: @PACKAGE_VERSION@ | ||
Release: 1 | ||
License: GPL | ||
Group: System Environment/Daemons | ||
|
@@ -94,21 +94,21 @@ elif [ "%{_host_vendor}" = "redhat" ] || [ "%{_host_vendor}" = "suse" ]; then | |
fi | ||
|
||
# install documentation | ||
[ -d "${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@VERSION@" ] || ./install-sh -d "${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@VERSION@" | ||
[ -d "${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@" ] || ./install-sh -d "${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@" | ||
./install-sh -o root -g root -m 0644 NEWS \ | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@VERSION@/NEWS | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@/NEWS | ||
./install-sh -o root -g root -m 0644 AUTHORS \ | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@VERSION@/AUTHORS | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@/AUTHORS | ||
./install-sh -o root -g root -m 0644 COPYING \ | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@VERSION@/COPYING | ||
${RPM_BUILD_ROOT}/%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@/COPYING | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%{prefix}/sbin/syslog-ng | ||
%{prefix}/bin/loggen | ||
%{_mandir}/* | ||
%docdir %{_prefix}/share/doc/syslog-ng-@VERSION@ | ||
%{_prefix}/share/doc/syslog-ng-@VERSION@/* | ||
%docdir %{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@ | ||
%{_prefix}/share/doc/syslog-ng-@PACKAGE_VERSION@/* | ||
%config(noreplace) /etc/syslog-ng/syslog-ng.conf | ||
%ifnos aix5.2 | ||
/etc/rc.d/init.d/syslog-ng | ||
|
@@ -234,11 +234,11 @@ fi | |
[ $RPM_BUILD_ROOT = / ] || rm -rf $RPM_BUILD_ROOT | ||
|
||
%changelog | ||
* Mon Sep 14 2009 Balazs Scheidler <[email protected]> @VERSION@-1 | ||
* Mon Sep 14 2009 Balazs Scheidler <[email protected]> @PACKAGE_VERSION@-1 | ||
- Removed some more Premium Edition related cruft. | ||
* Wed Sep 02 2009 Balazs Scheidler <[email protected]> @VERSION@-1 | ||
* Wed Sep 02 2009 Balazs Scheidler <[email protected]> @PACKAGE_VERSION@-1 | ||
- Removed the references to the documentation and libzlicense-devel | ||
* Wed Apr 04 2007 Tamas Pal <[email protected]> @VERSION@-1 | ||
* Wed Apr 04 2007 Tamas Pal <[email protected]> @PACKAGE_VERSION@-1 | ||
- Added libnet-devel and libzlicense-devel to BuildRequires. | ||
- Changed Packager to Tamas Pal. | ||
- Changed license to BalaBit Proprietary one. | ||
|