gnu: Switch to using the version-major procedure.
* gnu/packages/audio.scm (ardour)[arguments]: Switch to using version-major. (hmmer)[source]: Switch to using version-major. (pidgin)[native-search-paths]: Switch to using version-major. (r-minimal)[source]: Switch to using version-major.
This commit is contained in:
		
							parent
							
								
									47dc9a0dae
								
							
						
					
					
						commit
						9cf5f134d5
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -222,7 +222,7 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after
 | 
					         (add-after
 | 
				
			||||||
          'unpack 'set-rpath-in-LDFLAGS
 | 
					          'unpack 'set-rpath-in-LDFLAGS
 | 
				
			||||||
          ,(ardour-rpath-phase (version-prefix version 1))))
 | 
					          ,(ardour-rpath-phase (version-major version))))
 | 
				
			||||||
       #:test-target "test"
 | 
					       #:test-target "test"
 | 
				
			||||||
       #:python ,python-2))
 | 
					       #:python ,python-2))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2917,7 +2917,7 @@ indexing scheme is called a @dfn{Hierarchical Graph FM index} (HGFM).")
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (string-append
 | 
					       (uri (string-append
 | 
				
			||||||
             "http://eddylab.org/software/hmmer"
 | 
					             "http://eddylab.org/software/hmmer"
 | 
				
			||||||
             (version-prefix version 1) "/"
 | 
					             (version-major version) "/"
 | 
				
			||||||
             version "/hmmer-" version ".tar.gz"))
 | 
					             version "/hmmer-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -387,7 +387,7 @@ authentication.")
 | 
				
			||||||
     (list (search-path-specification
 | 
					     (list (search-path-specification
 | 
				
			||||||
            (variable "PURPLE_PLUGIN_PATH")
 | 
					            (variable "PURPLE_PLUGIN_PATH")
 | 
				
			||||||
            (files (list (string-append "lib/purple-"
 | 
					            (files (list (string-append "lib/purple-"
 | 
				
			||||||
                                        (version-prefix version 1))
 | 
					                                        (version-major version))
 | 
				
			||||||
                         "lib/pidgin")))))
 | 
					                         "lib/pidgin")))))
 | 
				
			||||||
    (home-page "http://www.pidgin.im/")
 | 
					    (home-page "http://www.pidgin.im/")
 | 
				
			||||||
    (synopsis "Graphical multi-protocol instant messaging client")
 | 
					    (synopsis "Graphical multi-protocol instant messaging client")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -114,7 +114,7 @@ be output in text, PostScript, PDF or HTML.")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "mirror://cran/src/base/R-"
 | 
					              (uri (string-append "mirror://cran/src/base/R-"
 | 
				
			||||||
                                  (version-prefix version 1) "/R-"
 | 
					                                  (version-major version) "/R-"
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					                                  version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue