Snort mailing list archives
Please use "dist tags" in RPM names
From: Kodiak Firesmith <kfiresmith () gmail com>
Date: Wed, 18 Nov 2015 13:23:18 -0500
Hey Folks, Here's one that's easy enough I think I can actually contribute rather than asking others to fix. Please use RPM dist tags in future releases of Snort and Daq. If you have a networked homdir (eg OpenAFS, NFS) and use the same account to build on multiple versions of Red Hat, Fedora, Cent, you will constantly overwrite the last package built with the new package if you don't use the dist tag to differentiate the output RPM files. Here is some more information about the tag: https://fedoraproject.org/wiki/Packaging:DistTag Here are diffs of the spec files: $diff -u daq.spec.orig daq.spec --- daq.spec.orig 2015-11-18 13:15:33.000000001 -0500 +++ daq.spec 2015-11-18 13:17:43.000000001 -0500 @@ -1,4 +1,5 @@ %define version 2.0.6 +%define pkgrel 1 Summary: Data Acquisition Library License: GNU General Public License @@ -6,7 +7,7 @@ Name: daq Prefix: %{_prefix} Provides: daq -Release: 1 +Release: %{pkgrel}%{?dist} Source: daq-%{version}.tar.gz URL: http://www.snort.org/ Version: %{version} $diff -u snort.spec.orig snort.spec --- snort.spec.orig 2015-11-18 13:15:39.000000001 -0500 +++ snort.spec 2015-11-18 13:18:33.000000001 -0500 @@ -23,7 +23,7 @@ %define vendor Snort.org %define for_distro RPMs -%define release 1 +%define pkgrel 1 %define realname snort # Look for a directory to see if we're building under cAos @@ -56,7 +56,7 @@ %endif Version: 2.9.7.6 Epoch: 1 -Release: %{release} +Release: %{pkgrel}%{?dist} Group: Applications/Internet License: GPL Url: http://www.snort.org/ Hope this helps! - Kodiak
------------------------------------------------------------------------------
_______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Please use "dist tags" in RPM names Kodiak Firesmith (Nov 18)