diff --git a/recipes/pdb2fasta/meta.yaml b/recipes/pdb2fasta/meta.yaml index f1a27eb513069..ac2cbe54733d3 100644 --- a/recipes/pdb2fasta/meta.yaml +++ b/recipes/pdb2fasta/meta.yaml @@ -14,7 +14,7 @@ source: build: number: 0 run_exports: - - {{ pin_subpackage('pdb2fasta', max_pin="x") }} + - {{ pin_subpackage('pdb2fasta', max_pin="x.x") }} requirements: build: diff --git a/recipes/pdb2fasta/pdb2fasta.patch b/recipes/pdb2fasta/pdb2fasta.patch index d0cf696829648..b9182ba172719 100644 --- a/recipes/pdb2fasta/pdb2fasta.patch +++ b/recipes/pdb2fasta/pdb2fasta.patch @@ -6,10 +6,10 @@ index 9642d03..9e8eef1 100644 +#include #include #include - + @@ -99,14 +100,24 @@ char *pdb2fasta(char *pdb_file){ } - + int main(int argc, char** argv){ - if (argc<2){ - printf("pdb2fasta pdb.pdb > seq.fasta\n"); @@ -19,7 +19,7 @@ index 9642d03..9e8eef1 100644 + printf(" Convert PDB file pdb.pdb to FASTA sequence file seq.fasta\n"); return argc; } -- +- - int i; - for (i=1;i