]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - template.spec
no_install_post_check_tmpfiles hack sample
[projects/template-specs.git] / template.spec
index db64fd9b47addfaccf93f4bd05249436b132d3ec..6b75431d76afc3e5b1a93aa6b449754134a6c012 100644 (file)
@@ -11,6 +11,7 @@ Release:      0.1
 License:       - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
 Group:         Applications
 # SF URL: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# github URL https://github.com/USER/PROJECT/archive/v%{version}/%{plugin}-%{version}.tar.gz
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: -
 #Source1:      -
@@ -53,6 +54,10 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Summary:       -
 Summary(pl.UTF-8):     -
 Group:         -
+# noarch subpackages only when building with rpm5
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description subpackage
 
This page took 0.052385 seconds and 4 git commands to generate.