Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MasterPatricko
rpmdevtools
dont-drop-Groups.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dont-drop-Groups.patch of Package rpmdevtools
--- rpmdevtools-9.6.orig/rpmdev-newspec.in +++ rpmdevtools-9.6/rpmdev-newspec.in @@ -246,9 +246,16 @@ fi if [[ $rpmver -ge 40600 ]] ; then # >= 4.6 (Fedora >= 10) # filter BuildRoot and Group tags specfilter+=" - s/^(BuildRoot|Group)[ \\t]*:[^\\n]*\\n//IMg + s/^BuildRoot[ \\t]*:[^\\n]*\\n//IMg " fi +if [ -n "$appname" ] ; then + specfilter+=" + s/\[spectemplate\]/$appname/ +" +fi +# set copyright year +specfilter+="s/__YEAR__/$(date -u +%Y)/" if [[ $rpmver -ge 40800 ]] ; then # >= 4.8 (RHEL >= 6, Fedora >= 13) # filter unnecessary basic %clean section, up to next section specfilter+="
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor